public class AuthenticationProviderBasic extends Object implements AuthenticationProvider
| Constructor and Description |
|---|
AuthenticationProviderBasic() |
| Modifier and Type | Method and Description |
|---|---|
String |
authenticate(AuthenticationDataSource authData)
Validate the authentication for the given credentials with the specified authentication data.
|
void |
close() |
String |
getAuthMethodName() |
void |
initialize(ServiceConfiguration config)
Perform initialization for the authentication provider.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitauthenticateAsync, authenticateHttpRequest, authenticateHttpRequestAsync, newAuthState, newHttpAuthStatepublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic void initialize(ServiceConfiguration config) throws IOException
AuthenticationProviderinitialize in interface AuthenticationProviderconfig - broker config objectIOException - if the initialization failspublic String getAuthMethodName()
getAuthMethodName in interface AuthenticationProviderpublic String authenticate(AuthenticationDataSource authData) throws AuthenticationException
AuthenticationProviderauthenticate in interface AuthenticationProviderauthData - provider specific authentication dataAuthenticationException - if the credentials are not validCopyright © 2017–2022 Apache Software Foundation. All rights reserved.