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 GBeanInfo GBEAN_INFO
           
static String KERNEL_NAME_LM_OPTION
           
static String SERVERINFO_LM_OPTION
           
 
Constructor Summary
JaasLoginModuleUse()
           
JaasLoginModuleUse(LoginModuleSettings loginModule, JaasLoginModuleUse next, LoginModuleControlFlag controlFlag)
           
 
Method Summary
 void configure(Set<String> domainNames, List<AppConfigurationEntry> loginModuleConfigurations, String realmName, Kernel kernel, ServerInfo serverInfo, ClassLoader classLoader)
           
 LoginModuleControlFlag getControlFlag()
          The String form of the control flag for the login module at this position in the chain.
static GBeanInfo getGBeanInfo()
           
 LoginModuleSettings getLoginModule()
          Gets the login module that this node in the chain corresponds to (a LoginModuleGBean).
 JaasLoginModuleChain getNext()
          Gets the ObjectName of the next node in the chain after this one (another JaasLoginModuleChain).
 void setControlFlag(LoginModuleControlFlag 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 GBeanInfo GBEAN_INFO
Constructor Detail

JaasLoginModuleUse

public JaasLoginModuleUse()

JaasLoginModuleUse

public JaasLoginModuleUse(LoginModuleSettings loginModule,
                          JaasLoginModuleUse next,
                          LoginModuleControlFlag controlFlag)
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.

getControlFlag

public LoginModuleControlFlag 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(LoginModuleControlFlag 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<String> domainNames,
                      List<AppConfigurationEntry> loginModuleConfigurations,
                      String realmName,
                      Kernel kernel,
                      ServerInfo serverInfo,
                      ClassLoader classLoader)
               throws ClassNotFoundException
Throws:
ClassNotFoundException

getGBeanInfo

public static GBeanInfo getGBeanInfo()


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