org.apache.hive.service.auth
Interface PasswdAuthenticationProvider

All Known Implementing Classes:
AnonymousAuthenticationProviderImpl, CustomAuthenticationProviderImpl, LdapAuthenticationProviderImpl

public interface PasswdAuthenticationProvider


Method Summary
 void Authenticate(String user, String password)
          The Authenticate method is called by the HiveServer2 authentication layer to authenticate users for their requests.
 

Method Detail

Authenticate

void Authenticate(String user,
                  String password)
                  throws AuthenticationException
The Authenticate method is called by the HiveServer2 authentication layer to authenticate users for their requests. If a user is to be granted, return nothing/throw nothing. When a user is to be disallowed, throw an appropriate AuthenticationException. For an example implementation, see LdapAuthenticationProviderImpl.

Parameters:
user - - The username received over the connection request
password - - The password received over the connection request
Throws:
AuthenticationException - - When a user is found to be invalid by the implementation


Copyright © 2012 The Apache Software Foundation