org.apache.hive.service.auth
Class HiveAuthFactory

java.lang.Object
  extended by org.apache.hive.service.auth.HiveAuthFactory

public class HiveAuthFactory
extends Object


Nested Class Summary
static class HiveAuthFactory.AuthTypes
           
 
Constructor Summary
HiveAuthFactory()
           
 
Method Summary
 org.apache.thrift.TProcessorFactory getAuthProcFactory(ThriftCLIService service)
           
 org.apache.thrift.transport.TTransportFactory getAuthTransFactory()
           
 String getRemoteUser()
           
static void loginFromKeytab(HiveConf hiveConf)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HiveAuthFactory

public HiveAuthFactory()
                throws org.apache.thrift.transport.TTransportException
Throws:
org.apache.thrift.transport.TTransportException
Method Detail

getAuthTransFactory

public org.apache.thrift.transport.TTransportFactory getAuthTransFactory()
                                                                  throws LoginException
Throws:
LoginException

getAuthProcFactory

public org.apache.thrift.TProcessorFactory getAuthProcFactory(ThriftCLIService service)
                                                       throws LoginException
Throws:
LoginException

getRemoteUser

public String getRemoteUser()

loginFromKeytab

public static void loginFromKeytab(HiveConf hiveConf)
                            throws IOException
Throws:
IOException


Copyright © 2012 The Apache Software Foundation