org.apache.geronimo.security.jaas.server
Class JaasSecuritySession

java.lang.Object
  extended byorg.apache.geronimo.security.jaas.server.JaasSecuritySession

public class JaasSecuritySession
extends Object

Tracks security information about a single user. This is used before, during, and after the login.

Version:
$Rev: 355877 $ $Date: 2005-12-11 03:48:27 +0100 (Sun, 11 Dec 2005) $

Constructor Summary
JaasSecuritySession(String realmName, JaasLoginModuleConfiguration[] modules, Map sharedContext, ClassLoader classLoader)
           
 
Method Summary
 long getCreated()
           
 DecouplingCallbackHandler getHandler()
           
 String getLoginDomainName(int index)
           
 LoginModule getLoginModule(int index)
           
 JaasLoginModuleConfiguration[] getModules()
           
 Map getOptions(int index)
           
 String getRealmName()
           
 Map getSharedContext()
           
 Subject getSubject()
           
 boolean isDone()
           
 boolean isServerSide(int index)
           
 void setDone(boolean done)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JaasSecuritySession

public JaasSecuritySession(String realmName,
                           JaasLoginModuleConfiguration[] modules,
                           Map sharedContext,
                           ClassLoader classLoader)
Method Detail

getSubject

public Subject getSubject()

getSharedContext

public Map getSharedContext()

getCreated

public long getCreated()

isDone

public boolean isDone()

setDone

public void setDone(boolean done)

getModules

public JaasLoginModuleConfiguration[] getModules()

getLoginModule

public LoginModule getLoginModule(int index)
                           throws LoginException
Throws:
LoginException

isServerSide

public boolean isServerSide(int index)
                     throws LoginException
Throws:
LoginException

getLoginDomainName

public String getLoginDomainName(int index)
                          throws LoginException
Throws:
LoginException

getOptions

public Map getOptions(int index)
               throws LoginException
Throws:
LoginException

getHandler

public DecouplingCallbackHandler getHandler()

getRealmName

public String getRealmName()


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.