org.apache.hadoop.security
Class UserGroupInformation.HadoopLoginModule
java.lang.Object
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:
abort
in interface LoginModule
- Throws:
LoginException
commit
public boolean commit()
throws LoginException
- Specified by:
commit
in interface LoginModule
- Throws:
LoginException
initialize
public void initialize(Subject subject,
CallbackHandler callbackHandler,
Map<String,?> sharedState,
Map<String,?> options)
- Specified by:
initialize
in interface LoginModule
login
public boolean login()
throws LoginException
- Specified by:
login
in interface LoginModule
- Throws:
LoginException
logout
public boolean logout()
throws LoginException
- Specified by:
logout
in interface LoginModule
- Throws:
LoginException
Copyright © 2009 The Apache Software Foundation