org.apache.geronimo.security.jaas
Class UPCredentialLoginModule
java.lang.Object
org.apache.geronimo.security.jaas.UPCredentialLoginModule
- All Implemented Interfaces:
- LoginModule
- public class UPCredentialLoginModule
- extends Object
- implements LoginModule
Inserts Username/Password credential into private credentials of Subject.
If either the username or password is not passed in the callback handler,
then the credential is not placed into the Subject.
- Version:
- $Revision: 355877 $ $Date: 2005-12-11 03:48:27 +0100 (Sun, 11 Dec 2005) $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UPCredentialLoginModule
public UPCredentialLoginModule()
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
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
initialize
public void initialize(Subject subject,
CallbackHandler callbackHandler,
Map sharedState,
Map options)
- Specified by:
initialize
in interface LoginModule
Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.