Package | Description |
---|---|
com.allanbank.mongodb |
Provides a Java driver for the MongoDB document store that allows asynchronous invocation of requests.
|
Modifier and Type | Method and Description |
---|---|
Credential.Builder |
Credential.Builder.authenticationType(String authenticationType)
Sets the value of the authentication type or mode that the credential
should be used with.
|
Credential.Builder |
Credential.Builder.authenticator(Authenticator authenticator)
Sets the value of the template authenticator for the credential.
|
static Credential.Builder |
Credential.builder()
Creates a
Credential.Builder for creating a Credential . |
Credential.Builder |
Credential.Builder.database(String database)
Sets the value of the database the credential are valid for.
|
Credential.Builder |
Credential.Builder.file(File file)
Sets the value of the file containing the full credentials.
|
Credential.Builder |
Credential.Builder.kerberos()
Sets the value of the authentication type or mode that the credential
should be used with to Kerberos.
|
Credential.Builder |
Credential.Builder.mongodbCR()
Sets the value of the authentication type or mode that the credential
should be used with to MongoDB Challenge/Response.
|
Credential.Builder |
Credential.Builder.password(char[] password)
Sets the value of the password for the credential set.
|
Credential.Builder |
Credential.Builder.reset()
Resets the builder to a known state.
|
Credential.Builder |
Credential.Builder.setAuthenticationType(String authenticationType)
Sets the value of the authentication type or mode that the credential
should be used with.
|
Credential.Builder |
Credential.Builder.setAuthenticator(Authenticator authenticator)
Sets the value of the template authenticator for the credential.
|
Credential.Builder |
Credential.Builder.setDatabase(String database)
Sets the value of the database the credential are valid for.
|
Credential.Builder |
Credential.Builder.setFile(File file)
Sets the value of the file containing the full credentials.
|
Credential.Builder |
Credential.Builder.setPassword(char[] password)
Sets the value of the password for the credential set.
|
Credential.Builder |
Credential.Builder.setUserName(String userName)
Sets the value of the user name for the credential set.
|
Credential.Builder |
Credential.Builder.userName(String userName)
Sets the value of the user name for the credential set.
|
Modifier and Type | Method and Description |
---|---|
void |
MongoClientConfiguration.addCredential(Credential.Builder credentials)
Adds the specified credentials to the configuration.
|
Constructor and Description |
---|
Credential(Credential.Builder builder)
Creates a new Credential.
|
Copyright © 2011-2013 Allanbank Consulting, Inc.. All Rights Reserved.