class ScramSha1Authenticator extends SaslAuthenticator
Modifier and Type | Class and Description |
---|---|
static class |
ScramSha1Authenticator.DefaultRandomStringGenerator |
static interface |
ScramSha1Authenticator.RandomStringGenerator |
private static class |
ScramSha1Authenticator.ScramSha1SaslClient |
Modifier and Type | Field and Description |
---|---|
private ScramSha1Authenticator.RandomStringGenerator |
randomStringGenerator |
Constructor and Description |
---|
ScramSha1Authenticator(MongoCredential credential) |
ScramSha1Authenticator(MongoCredential credential,
ScramSha1Authenticator.RandomStringGenerator randomStringGenerator) |
Modifier and Type | Method and Description |
---|---|
protected javax.security.sasl.SaslClient |
createSaslClient(ServerAddress serverAddress) |
java.lang.String |
getMechanismName() |
authenticate, authenticateAsync, doAsSubject
getCredential
private final ScramSha1Authenticator.RandomStringGenerator randomStringGenerator
ScramSha1Authenticator(MongoCredential credential)
ScramSha1Authenticator(MongoCredential credential, ScramSha1Authenticator.RandomStringGenerator randomStringGenerator)
public java.lang.String getMechanismName()
getMechanismName
in class SaslAuthenticator
protected javax.security.sasl.SaslClient createSaslClient(ServerAddress serverAddress)
createSaslClient
in class SaslAuthenticator