org.apache.hadoop.security.authentication.util
Class KerberosUtil

java.lang.Object
  extended by org.apache.hadoop.security.authentication.util.KerberosUtil

public class KerberosUtil
extends Object


Constructor Summary
KerberosUtil()
           
 
Method Summary
static String getDefaultRealm()
           
static String getKrb5LoginModuleName()
           
static Oid getOidInstance(String oidName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KerberosUtil

public KerberosUtil()
Method Detail

getKrb5LoginModuleName

public static String getKrb5LoginModuleName()

getOidInstance

public static Oid getOidInstance(String oidName)
                          throws ClassNotFoundException,
                                 GSSException,
                                 NoSuchFieldException,
                                 IllegalAccessException
Throws:
ClassNotFoundException
GSSException
NoSuchFieldException
IllegalAccessException

getDefaultRealm

public static String getDefaultRealm()
                              throws ClassNotFoundException,
                                     NoSuchMethodException,
                                     IllegalArgumentException,
                                     IllegalAccessException,
                                     InvocationTargetException
Throws:
ClassNotFoundException
NoSuchMethodException
IllegalArgumentException
IllegalAccessException
InvocationTargetException


Copyright © 2009 The Apache Software Foundation