public class MongoDBAuthServiceBackend extends Object implements AuthServiceBackend
AuthServiceBackend.Factory<TYPE extends AuthServiceBackend>| Modifier and Type | Field and Description |
|---|---|
static String |
NAME |
INTERNAL_BACKEND_ID, log| Constructor and Description |
|---|
MongoDBAuthServiceBackend(UserService userService,
EncryptedValueService encryptedValueService,
PasswordAlgorithmFactory passwordAlgorithmFactory) |
| Modifier and Type | Method and Description |
|---|---|
Optional<AuthenticationDetails> |
authenticateAndProvision(AuthServiceCredentials authCredentials,
ProvisionerService provisionerService) |
String |
backendId() |
String |
backendTitle() |
String |
backendType() |
AuthServiceBackendDTO |
prepareConfigUpdate(AuthServiceBackendDTO existingBackend,
AuthServiceBackendDTO newBackend) |
AuthServiceBackendTestResult |
testConnection(AuthServiceBackendDTO existingBackendConfig) |
AuthServiceBackendTestResult |
testLogin(AuthServiceCredentials credentials,
AuthServiceBackendDTO existingConfig) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitauthenticateAndProvisionpublic static final String NAME
@Inject public MongoDBAuthServiceBackend(UserService userService, EncryptedValueService encryptedValueService, PasswordAlgorithmFactory passwordAlgorithmFactory)
public Optional<AuthenticationDetails> authenticateAndProvision(AuthServiceCredentials authCredentials, ProvisionerService provisionerService)
authenticateAndProvision in interface AuthServiceBackendpublic String backendType()
backendType in interface AuthServiceBackendpublic String backendId()
backendId in interface AuthServiceBackendpublic String backendTitle()
backendTitle in interface AuthServiceBackendpublic AuthServiceBackendDTO prepareConfigUpdate(AuthServiceBackendDTO existingBackend, AuthServiceBackendDTO newBackend)
prepareConfigUpdate in interface AuthServiceBackendpublic AuthServiceBackendTestResult testConnection(@Nullable AuthServiceBackendDTO existingBackendConfig)
testConnection in interface AuthServiceBackendpublic AuthServiceBackendTestResult testLogin(AuthServiceCredentials credentials, @Nullable AuthServiceBackendDTO existingConfig)
testLogin in interface AuthServiceBackendCopyright © 2012–2021 Graylog, Inc.. All rights reserved.