public class CustomAuthenticationProviderImpl extends Object implements AuthenticationProvider
AuthenticationProvider to be
customized at configuration time. This authentication provider is created if authentication type
specified in TachyonConf is CUSTOM. It requires the property
tachyon.security.authentication.custom.provider to be set in Configuration to determine which provider to load.AuthenticationProvider.Factory| Constructor and Description |
|---|
CustomAuthenticationProviderImpl(String providerName) |
| Modifier and Type | Method and Description |
|---|---|
void |
authenticate(String user,
String password)
The authenticate method is called by the PlainServerCallbackHandler in the PlainSaslServer
layer to authenticate users for their requests.
|
AuthenticationProvider |
getCustomProvider() |
public CustomAuthenticationProviderImpl(String providerName)
public AuthenticationProvider getCustomProvider()
public void authenticate(String user, String password) throws AuthenticationException
AuthenticationProviderAuthenticationException.authenticate in interface AuthenticationProvideruser - The username received over the connection requestpassword - The password received over the connection requestAuthenticationException - When a user is found to be invalid by the implementationCopyright © 2015. All Rights Reserved.