org.apache.geronimo.security.jaas.client
Class ServerLoginProxy
java.lang.Object
org.apache.geronimo.security.jaas.client.LoginModuleProxy
org.apache.geronimo.security.jaas.client.ServerLoginProxy
- All Implemented Interfaces:
- LoginModule
public class ServerLoginProxy
- extends LoginModuleProxy
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServerLoginProxy
public ServerLoginProxy(LoginModuleControlFlag controlFlag,
Subject subject,
int lmIndex,
JaasLoginServiceMBean service,
JaasSessionId sessionHandle)
initialize
public void initialize(Subject subject,
CallbackHandler handler,
Map sharedState,
Map options)
login
public boolean login()
throws LoginException
- Perform a login on the server side.
Here we get the Callbacks from the server side, pass them to the
local handler so that they may be filled. We pass the resulting
set of Callbacks back to the server.
- Returns:
- true if the authentication succeeded, or false if this
LoginModule
should be ignored.
- Throws:
LoginException
- if the authentication fails
commit
public boolean commit()
throws LoginException
- Throws:
LoginException
abort
public boolean abort()
throws LoginException
- Throws:
LoginException
logout
public boolean logout()
throws LoginException
- Throws:
LoginException
Copyright © 2006 Apache Software Foundation. All Rights Reserved.