org.apache.hadoop.hive.ql.security
Class ProxyUserAuthenticator
java.lang.Object
org.apache.hadoop.hive.ql.security.HadoopDefaultAuthenticator
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.
Method Summary |
void |
setConf(org.apache.hadoop.conf.Configuration conf)
|
ProxyUserAuthenticator
public ProxyUserAuthenticator()
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.