Package org.graylog.security.authservice
Interface AuthServiceBackend
- All Known Implementing Classes:
ADAuthServiceBackend
,LDAPAuthServiceBackend
,MongoDBAuthServiceBackend
public interface AuthServiceBackend
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault Optional<AuthenticationDetails>
authenticateAndProvision
(AuthServiceCredentials authCredentials, ProvisionerService provisionerService) default Optional<AuthenticationDetails>
authenticateAndProvision
(AuthServiceToken token, ProvisionerService provisionerService) prepareConfigUpdate
(AuthServiceBackendDTO existingBackend, AuthServiceBackendDTO newBackend) testConnection
(AuthServiceBackendDTO existingConfig) testLogin
(AuthServiceCredentials credentials, AuthServiceBackendDTO existingConfig)
-
Field Details
-
log
static final org.slf4j.Logger log -
INTERNAL_BACKEND_ID
- See Also:
-
-
Method Details
-
authenticateAndProvision
default Optional<AuthenticationDetails> authenticateAndProvision(AuthServiceCredentials authCredentials, ProvisionerService provisionerService) -
authenticateAndProvision
default Optional<AuthenticationDetails> authenticateAndProvision(AuthServiceToken token, ProvisionerService provisionerService) -
backendType
String backendType() -
backendId
String backendId() -
backendTitle
String backendTitle() -
prepareConfigUpdate
AuthServiceBackendDTO prepareConfigUpdate(AuthServiceBackendDTO existingBackend, AuthServiceBackendDTO newBackend) -
testConnection
-
testLogin
AuthServiceBackendTestResult testLogin(AuthServiceCredentials credentials, @Nullable AuthServiceBackendDTO existingConfig)
-