public class LDAPAuthServiceBackend extends Object implements AuthServiceBackend
| Modifier and Type | Class and Description |
|---|---|
static interface |
LDAPAuthServiceBackend.Factory |
| Modifier and Type | Field and Description |
|---|---|
static String |
TYPE_NAME |
INTERNAL_BACKEND_ID, log| Constructor and Description |
|---|
LDAPAuthServiceBackend(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
@Inject public LDAPAuthServiceBackend(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.