org.openmdx.test.security.auth
Class FakeLoginModule
java.lang.Object
org.openmdx.test.security.auth.FakeLoginModule
- All Implemented Interfaces:
- LoginModule
public class FakeLoginModule
- extends Object
- implements LoginModule
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
subject
protected Subject subject
callbackHandler
protected CallbackHandler callbackHandler
sharedState
protected Map sharedState
options
protected Map options
PRINCIPAL_TYPE
public static final String PRINCIPAL_TYPE
- A generic principal
- See Also:
- Constant Field Values
FakeLoginModule
public FakeLoginModule()
- Constructor
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
This software is published under the BSD license. Copyright © 2003-2007, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.