Class ADAuthServiceBackend
java.lang.Object
org.graylog.security.authservice.backend.ADAuthServiceBackend
- All Implemented Interfaces:
AuthServiceBackend
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final com.unboundid.ldap.sdk.Filterstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from interface org.graylog.security.authservice.AuthServiceBackend
INTERNAL_BACKEND_ID, log -
Constructor Summary
ConstructorsConstructorDescriptionADAuthServiceBackend(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, waitMethods inherited from interface org.graylog.security.authservice.AuthServiceBackend
authenticateAndProvision
-
Field Details
-
TYPE_NAME
- See Also:
-
AD_OBJECT_GUID
- See Also:
-
AD_SAM_ACCOUNT_NAME
- See Also:
-
AD_USER_PRINCIPAL_NAME
- See Also:
-
AD_DISPLAY_NAME
- See Also:
-
AD_CN
- See Also:
-
AD_DEFAULT_USER_SEARCH_PATTERN
public static final com.unboundid.ldap.sdk.Filter AD_DEFAULT_USER_SEARCH_PATTERN
-
-
Constructor Details
-
ADAuthServiceBackend
@Inject public ADAuthServiceBackend(UnboundLDAPConnector ldapConnector, AuthServiceBackendDTO backend)
-
-
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 existingBackendConfig) - Specified by:
testLoginin interfaceAuthServiceBackend
-