org.apache.geronimo.security.jaas
Class JaasLoginModuleUse

java.lang.Object
  extended by org.apache.geronimo.security.jaas.JaasLoginModuleUse
All Implemented Interfaces:
JaasLoginModuleChain

public class JaasLoginModuleUse
extends Object
implements JaasLoginModuleChain

Holds a reference to a login module and the control flag. A linked list of these forms the list of login modules in a GenericSecurityRealm.


Field Summary
static String CLASSLOADER_LM_OPTION
           
static org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
           
static String KERNEL_NAME_LM_OPTION
           
static String SERVERINFO_LM_OPTION
           
 
Constructor Summary
JaasLoginModuleUse()
           
JaasLoginModuleUse(LoginModuleSettings loginModule, JaasLoginModuleUse next, String controlFlag, org.apache.geronimo.kernel.Kernel kernel)
           
 
Method Summary
 void configure(Set domainNames, List loginModuleConfigurations, org.apache.geronimo.kernel.Kernel kernel, org.apache.geronimo.system.serverinfo.ServerInfo serverInfo, ClassLoader classLoader)
           
 String getControlFlag()
          The String form of the control flag for the login module at this position in the chain.
static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()
           
 LoginModuleSettings getLoginModule()
          Gets the login module that this node in the chain corresponds to (a LoginModuleGBean).
 String getLoginModuleName()
           
 JaasLoginModuleChain getNext()
          Gets the ObjectName of the next node in the chain after this one (another JaasLoginModuleChain).
 String getNextName()
           
 void setControlFlag(String controlFlag)
          The String form of the control flag for the login module at this position in the chain.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

KERNEL_NAME_LM_OPTION

public static final String KERNEL_NAME_LM_OPTION
See Also:
Constant Field Values

SERVERINFO_LM_OPTION

public static final String SERVERINFO_LM_OPTION
See Also:
Constant Field Values

CLASSLOADER_LM_OPTION

public static final String CLASSLOADER_LM_OPTION
See Also:
Constant Field Values

GBEAN_INFO

public static final org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
Constructor Detail

JaasLoginModuleUse

public JaasLoginModuleUse()

JaasLoginModuleUse

public JaasLoginModuleUse(LoginModuleSettings loginModule,
                          JaasLoginModuleUse next,
                          String controlFlag,
                          org.apache.geronimo.kernel.Kernel kernel)
Method Detail

getLoginModule

public LoginModuleSettings getLoginModule()
Description copied from interface: JaasLoginModuleChain
Gets the login module that this node in the chain corresponds to (a LoginModuleGBean).

Specified by:
getLoginModule in interface JaasLoginModuleChain

getNext

public JaasLoginModuleChain getNext()
Description copied from interface: JaasLoginModuleChain
Gets the ObjectName of the next node in the chain after this one (another JaasLoginModuleChain).

Specified by:
getNext in interface JaasLoginModuleChain
Returns:
The ObjectName of the next node, in String form, or null if this is the last.

getLoginModuleName

public String getLoginModuleName()

getNextName

public String getNextName()

getControlFlag

public String getControlFlag()
Description copied from interface: JaasLoginModuleChain
The String form of the control flag for the login module at this position in the chain.

Specified by:
getControlFlag in interface JaasLoginModuleChain

setControlFlag

public void setControlFlag(String controlFlag)
Description copied from interface: JaasLoginModuleChain
The String form of the control flag for the login module at this position in the chain.

Specified by:
setControlFlag in interface JaasLoginModuleChain

configure

public void configure(Set domainNames,
                      List loginModuleConfigurations,
                      org.apache.geronimo.kernel.Kernel kernel,
                      org.apache.geronimo.system.serverinfo.ServerInfo serverInfo,
                      ClassLoader classLoader)

getGBeanInfo

public static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()


Copyright © 2006 Apache Software Foundation. All Rights Reserved.