public class CustomAuthenticationProviderImpl extends java.lang.Object implements PasswdAuthenticationProvider
Modifier and Type | Method and Description |
---|---|
void |
Authenticate(java.lang.String user,
java.lang.String password)
The Authenticate method is called by the HiveServer2 authentication layer
to authenticate users for their requests.
|
public void Authenticate(java.lang.String user, java.lang.String password) throws javax.security.sasl.AuthenticationException
PasswdAuthenticationProvider
AuthenticationException
.
For an example implementation, see LdapAuthenticationProviderImpl
.Authenticate
in interface PasswdAuthenticationProvider
user
- - The username received over the connection requestpassword
- - The password received over the connection requestjavax.security.sasl.AuthenticationException
- - When a user is found to be
invalid by the implementationCopyright © 2012 The Apache Software Foundation