| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.security.UserGroupInformation
public abstract class UserGroupInformation
A Writable abstract class for storing user and groups information.
| Field Summary | |
|---|---|
static org.apache.commons.logging.Log | 
LOG
 | 
| Constructor Summary | |
|---|---|
UserGroupInformation()
 | 
|
| Method Summary | |
|---|---|
static UserGroupInformation | 
getCurrentUGI()
 | 
abstract  String[] | 
getGroupNames()
Get the name of the groups that the user belong to  | 
abstract  String | 
getUserName()
Get username  | 
static UserGroupInformation | 
login(Configuration conf)
Login and return a UserGroupInformation object.  | 
static UserGroupInformation | 
readFrom(Configuration conf)
Read a UserGroupInformation from conf | 
static void | 
setCurrentUGI(UserGroupInformation ugi)
Set the UserGroupInformation for the current thread | 
| 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.io.Writable | 
|---|
readFields, write | 
| Field Detail | 
|---|
public static final org.apache.commons.logging.Log LOG
| Constructor Detail | 
|---|
public UserGroupInformation()
| Method Detail | 
|---|
public static UserGroupInformation getCurrentUGI()
UserGroupInformation for the current threadpublic static void setCurrentUGI(UserGroupInformation ugi)
UserGroupInformation for the current thread
public abstract String getUserName()
public abstract String[] getGroupNames()
public static UserGroupInformation login(Configuration conf)
                                  throws LoginException
LoginException
public static UserGroupInformation readFrom(Configuration conf)
                                     throws IOException
UserGroupInformation from conf
IOException
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||