public class CustomAuthenticationProviderImpl extends Object implements PasswdAuthenticationProvider
CUSTOM authentication. It allows a PasswdAuthenticationProvider to be specified at configuration time which may additionally
implement Configurable to grab Hive's Configuration.| Modifier and Type | Method and Description |
|---|---|
void |
Authenticate(String user,
String password)
The Authenticate method is called by the HiveServer2 authentication layer
to authenticate users for their requests.
|
public void Authenticate(String user, String password) throws AuthenticationException
PasswdAuthenticationProviderAuthenticationException.
For an example implementation, see LdapAuthenticationProviderImpl.Authenticate in interface PasswdAuthenticationProvideruser - 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 © 2017 The Apache Software Foundation. All rights reserved.