public class ADAuthServiceBackend extends Object implements AuthServiceBackend
| Modifier and Type | Class and Description |
|---|---|
static interface |
ADAuthServiceBackend.Factory |
| Modifier and Type | Field and Description |
|---|---|
static String |
AD_CN |
static com.unboundid.ldap.sdk.Filter |
AD_DEFAULT_USER_SEARCH_PATTERN |
static String |
AD_DISPLAY_NAME |
static String |
AD_OBJECT_GUID |
static String |
AD_SAM_ACCOUNT_NAME |
static String |
AD_USER_PRINCIPAL_NAME |
static String |
TYPE_NAME |
INTERNAL_BACKEND_ID, log| Constructor and Description |
|---|
ADAuthServiceBackend(UnboundLDAPConnector ldapConnector,
AuthServiceBackendDTO backend) |
| 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 existingBackendConfig) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitauthenticateAndProvisionpublic static final String TYPE_NAME
public static final String AD_OBJECT_GUID
public static final String AD_SAM_ACCOUNT_NAME
public static final String AD_USER_PRINCIPAL_NAME
public static final String AD_DISPLAY_NAME
public static final String AD_CN
public static final com.unboundid.ldap.sdk.Filter AD_DEFAULT_USER_SEARCH_PATTERN
@Inject public ADAuthServiceBackend(UnboundLDAPConnector ldapConnector, AuthServiceBackendDTO backend)
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 existingBackendConfig)
testLogin in interface AuthServiceBackendCopyright © 2012–2021 Graylog, Inc.. All rights reserved.