org.apache.hadoop.security
Class UserGroupInformation.HadoopLoginModule
java.lang.Object
   org.apache.hadoop.security.UserGroupInformation.HadoopLoginModule
org.apache.hadoop.security.UserGroupInformation.HadoopLoginModule
- All Implemented Interfaces: 
- LoginModule
- Enclosing class:
- UserGroupInformation
- public static class UserGroupInformation.HadoopLoginModule 
- extends Object- implements LoginModule
A login module that looks at the Kerberos, Unix, or Windows principal and
 adds the corresponding UserName.
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
UserGroupInformation.HadoopLoginModule
public UserGroupInformation.HadoopLoginModule()
abort
public boolean abort()
              throws LoginException
- 
- Specified by:
- abortin interface- LoginModule
 
- 
- Throws:
- LoginException
 
commit
public boolean commit()
               throws LoginException
- 
- Specified by:
- commitin interface- LoginModule
 
- 
- Throws:
- LoginException
 
initialize
public void initialize(Subject subject,
                       CallbackHandler callbackHandler,
                       Map<String,?> sharedState,
                       Map<String,?> options)
- 
- Specified by:
- initializein interface- LoginModule
 
- 
 
login
public boolean login()
              throws LoginException
- 
- Specified by:
- loginin interface- LoginModule
 
- 
- Throws:
- LoginException
 
logout
public boolean logout()
               throws LoginException
- 
- Specified by:
- logoutin interface- LoginModule
 
- 
- Throws:
- LoginException
 
Copyright © 2009 The Apache Software Foundation