Class MongoDBAuthServiceBackend
java.lang.Object
org.graylog.security.authservice.backend.MongoDBAuthServiceBackend
- All Implemented Interfaces:
AuthServiceBackend
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.graylog.security.authservice.AuthServiceBackend
AuthServiceBackend.Factory<TYPE extends AuthServiceBackend> -
Field Summary
FieldsFields inherited from interface org.graylog.security.authservice.AuthServiceBackend
INTERNAL_BACKEND_ID, log -
Constructor Summary
ConstructorsConstructorDescriptionMongoDBAuthServiceBackend(UserService userService, EncryptedValueService encryptedValueService, PasswordAlgorithmFactory passwordAlgorithmFactory) -
Method Summary
Modifier and TypeMethodDescriptionauthenticateAndProvision(AuthServiceCredentials authCredentials, ProvisionerService provisionerService) prepareConfigUpdate(AuthServiceBackendDTO existingBackend, AuthServiceBackendDTO newBackend) testConnection(AuthServiceBackendDTO existingBackendConfig) testLogin(AuthServiceCredentials credentials, AuthServiceBackendDTO existingConfig) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.graylog.security.authservice.AuthServiceBackend
authenticateAndProvision
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
Method Details
-
authenticateAndProvision
public Optional<AuthenticationDetails> authenticateAndProvision(AuthServiceCredentials authCredentials, ProvisionerService provisionerService) - Specified by:
authenticateAndProvisionin interfaceAuthServiceBackend
-
backendType
- Specified by:
backendTypein interfaceAuthServiceBackend
-
backendId
- Specified by:
backendIdin interfaceAuthServiceBackend
-
backendTitle
- Specified by:
backendTitlein interfaceAuthServiceBackend
-
prepareConfigUpdate
public AuthServiceBackendDTO prepareConfigUpdate(AuthServiceBackendDTO existingBackend, AuthServiceBackendDTO newBackend) - Specified by:
prepareConfigUpdatein interfaceAuthServiceBackend
-
testConnection
public AuthServiceBackendTestResult testConnection(@Nullable AuthServiceBackendDTO existingBackendConfig) - Specified by:
testConnectionin interfaceAuthServiceBackend
-
testLogin
public AuthServiceBackendTestResult testLogin(AuthServiceCredentials credentials, @Nullable AuthServiceBackendDTO existingConfig) - Specified by:
testLoginin interfaceAuthServiceBackend
-