public class LdapAuthenticationProviderImpl extends Object implements PasswdAuthenticationProvider
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
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 requestAuthenticationException
- When a user is found to be
invalid by the implementationCopyright © 2017 The Apache Software Foundation. All rights reserved.