Class SaslAuthCommand
java.lang.Object
de.caluga.morphium.driver.commands.MongoCommand<SaslAuthCommand>
de.caluga.morphium.driver.commands.auth.SaslAuthCommand
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute()intgetUser()setMechanism(String mechanism) setPassword(String password) Methods inherited from class de.caluga.morphium.driver.commands.MongoCommand
asMap, clear, fromMap, getColl, getComment, getConnection, getDb, getDefaultBatchSize, getMetaData, getRetriesOnNetworkError, getSleepBetweenErrorRetries, setColl, setComment, setConnection, setDb, setDefaultBatchSize, setMetaData, setMetaData, setRetriesOnNetworkError, setSleepBetweenErrorRetries
-
Constructor Details
-
SaslAuthCommand
-
-
Method Details
-
getCommandName
- Specified by:
getCommandNamein classMongoCommand<SaslAuthCommand>
-
executeAsync
- Overrides:
executeAsyncin classMongoCommand<SaslAuthCommand>- Throws:
MorphiumDriverException
-
getUser
-
setUser
-
getPassword
-
setPassword
-
getMechanism
-
setMechanism
-
execute
public void execute() throws MorphiumDriverException, com.ongres.scram.common.exception.ScramParseException, NoSuchAlgorithmException, com.ongres.scram.common.exception.ScramInvalidServerSignatureException, com.ongres.scram.common.exception.ScramServerErrorException- Throws:
MorphiumDriverExceptioncom.ongres.scram.common.exception.ScramParseExceptionNoSuchAlgorithmExceptioncom.ongres.scram.common.exception.ScramInvalidServerSignatureExceptioncom.ongres.scram.common.exception.ScramServerErrorException
-