public class AuthServiceAuthenticator extends Object
| Constructor and Description |
|---|
AuthServiceAuthenticator(GlobalAuthServiceConfig authServiceConfig,
ProvisionerService provisionerService) |
| Modifier and Type | Method and Description |
|---|---|
AuthServiceResult |
authenticate(AuthServiceCredentials authCredentials)
Tries to authenticate the username with the given password and returns the authenticated username if successful.
|
AuthServiceResult |
authenticate(AuthServiceToken token)
Tries to authenticate the user with the given token.
|
@Inject public AuthServiceAuthenticator(GlobalAuthServiceConfig authServiceConfig, ProvisionerService provisionerService)
public AuthServiceResult authenticate(AuthServiceToken token)
public AuthServiceResult authenticate(AuthServiceCredentials authCredentials)
authCredentials - the authentication credentialsCopyright © 2012–2021 Graylog, Inc.. All rights reserved.