org.apache.hadoop.hive.ql.security
Class ProxyUserAuthenticator

java.lang.Object
  extended by org.apache.hadoop.hive.ql.security.HadoopDefaultAuthenticator
      extended by org.apache.hadoop.hive.ql.security.ProxyUserAuthenticator
All Implemented Interfaces:
org.apache.hadoop.conf.Configurable, HiveAuthenticationProvider

public class ProxyUserAuthenticator
extends HadoopDefaultAuthenticator

ProxyUserAuthenticator extends HadoopDefaultAuthenticator but honours a proxy config setting proxy.user.name instead of the current user if set. This allows server processes like webhcat which proxy other users to easily specify an override if allowed.


Constructor Summary
ProxyUserAuthenticator()
           
 
Method Summary
 void setConf(org.apache.hadoop.conf.Configuration conf)
           
 
Methods inherited from class org.apache.hadoop.hive.ql.security.HadoopDefaultAuthenticator
destroy, getConf, getGroupNames, getUserName, setSessionState
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProxyUserAuthenticator

public ProxyUserAuthenticator()
Method Detail

setConf

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


Copyright © 2014 The Apache Software Foundation. All rights reserved.