org.apache.hadoop.hive.ql.security.authorization
Class HiveAuthorizationProviderBase

java.lang.Object
  extended by org.apache.hadoop.hive.ql.security.authorization.HiveAuthorizationProviderBase
All Implemented Interfaces:
org.apache.hadoop.conf.Configurable, HiveAuthorizationProvider
Direct Known Subclasses:
DefaultHiveAuthorizationProvider

public abstract class HiveAuthorizationProviderBase
extends Object
implements HiveAuthorizationProvider


Field Summary
protected  HiveAuthenticationProvider authenticator
           
protected  Hive hive_db
           
 
Constructor Summary
HiveAuthorizationProviderBase()
           
 
Method Summary
 HiveAuthenticationProvider getAuthenticator()
           
 org.apache.hadoop.conf.Configuration getConf()
           
 void init(org.apache.hadoop.conf.Configuration conf)
           
 void setAuthenticator(HiveAuthenticationProvider authenticator)
           
 void setConf(org.apache.hadoop.conf.Configuration conf)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.hadoop.hive.ql.security.authorization.HiveAuthorizationProvider
authorize, authorize, authorize, authorize, authorize
 

Field Detail

authenticator

protected HiveAuthenticationProvider authenticator

hive_db

protected Hive hive_db
Constructor Detail

HiveAuthorizationProviderBase

public HiveAuthorizationProviderBase()
Method Detail

setConf

public void setConf(org.apache.hadoop.conf.Configuration conf)
Specified by:
setConf in interface org.apache.hadoop.conf.Configurable

init

public void init(org.apache.hadoop.conf.Configuration conf)
          throws HiveException
Specified by:
init in interface HiveAuthorizationProvider
Throws:
HiveException

getConf

public org.apache.hadoop.conf.Configuration getConf()
Specified by:
getConf in interface org.apache.hadoop.conf.Configurable

getAuthenticator

public HiveAuthenticationProvider getAuthenticator()
Specified by:
getAuthenticator in interface HiveAuthorizationProvider

setAuthenticator

public void setAuthenticator(HiveAuthenticationProvider authenticator)
Specified by:
setAuthenticator in interface HiveAuthorizationProvider


Copyright © 2011 The Apache Software Foundation