Class LDAPAuthServiceBackend
java.lang.Object
org.graylog.security.authservice.backend.LDAPAuthServiceBackend
- All Implemented Interfaces:
AuthServiceBackend
-
Nested Class Summary
-
Field Summary
Fields inherited from interface org.graylog.security.authservice.AuthServiceBackend
INTERNAL_BACKEND_ID, log
-
Constructor Summary
ConstructorDescriptionLDAPAuthServiceBackend
(UnboundLDAPConnector ldapConnector, AuthServiceBackendDTO backend) -
Method Summary
Modifier and TypeMethodDescriptionauthenticateAndProvision
(AuthServiceCredentials authCredentials, ProvisionerService provisionerService) prepareConfigUpdate
(AuthServiceBackendDTO existingBackend, AuthServiceBackendDTO newBackend) testConnection
(AuthServiceBackendDTO existingBackendConfig) testLogin
(AuthServiceCredentials credentials, AuthServiceBackendDTO existingBackendConfig) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.graylog.security.authservice.AuthServiceBackend
authenticateAndProvision
-
Field Details
-
TYPE_NAME
- See Also:
-
-
Constructor Details
-
LDAPAuthServiceBackend
@Inject public LDAPAuthServiceBackend(UnboundLDAPConnector ldapConnector, AuthServiceBackendDTO backend)
-
-
Method Details
-
authenticateAndProvision
public Optional<AuthenticationDetails> authenticateAndProvision(AuthServiceCredentials authCredentials, ProvisionerService provisionerService) - Specified by:
authenticateAndProvision
in interfaceAuthServiceBackend
-
backendType
- Specified by:
backendType
in interfaceAuthServiceBackend
-
backendId
- Specified by:
backendId
in interfaceAuthServiceBackend
-
backendTitle
- Specified by:
backendTitle
in interfaceAuthServiceBackend
-
prepareConfigUpdate
public AuthServiceBackendDTO prepareConfigUpdate(AuthServiceBackendDTO existingBackend, AuthServiceBackendDTO newBackend) - Specified by:
prepareConfigUpdate
in interfaceAuthServiceBackend
-
testConnection
public AuthServiceBackendTestResult testConnection(@Nullable AuthServiceBackendDTO existingBackendConfig) - Specified by:
testConnection
in interfaceAuthServiceBackend
-
testLogin
public AuthServiceBackendTestResult testLogin(AuthServiceCredentials credentials, @Nullable AuthServiceBackendDTO existingBackendConfig) - Specified by:
testLogin
in interfaceAuthServiceBackend
-