org.jboss.security.microcontainer.beans
Class LoginModuleStackBean

java.lang.Object
  extended by org.jboss.security.microcontainer.beans.LoginModuleStackBean

public class LoginModuleStackBean
extends Object

This class represents a stack of login-modules that has been configured as part of a JASPI authentication policy.

Author:
Stefan Guilhen

Constructor Summary
LoginModuleStackBean()
           Creates an instance of LoginModuleStackBean.
 
Method Summary
 List<FlaggedPolicyModule> getLoginModules()
           Obtains the login-modules that form the stack.
 LoginModuleStackHolder getLoginModuleStackHolder()
           Creates a LoginModuleStackHolder using the information contained in this bean.
 String getName()
           Obtains the name of the stack.
 void setLoginModules(List<FlaggedPolicyModule> loginModules)
           Sets the login-modules that form the stack.
 void setName(String name)
           Sets the name of the stack.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LoginModuleStackBean

public LoginModuleStackBean()

Creates an instance of LoginModuleStackBean.

Method Detail

getName

public String getName()

Obtains the name of the stack.

Returns:
a String representing the name of the stack.

setName

public void setName(String name)

Sets the name of the stack.

Parameters:
name - a String representing the name to be set.

getLoginModules

public List<FlaggedPolicyModule> getLoginModules()

Obtains the login-modules that form the stack.

Returns:
a List<FlaggedPolicyModule> containing the login-modules.

setLoginModules

public void setLoginModules(List<FlaggedPolicyModule> loginModules)

Sets the login-modules that form the stack.

Parameters:
loginModules - a List<FlaggedPolicyModule> containing the modules to be set.

getLoginModuleStackHolder

public LoginModuleStackHolder getLoginModuleStackHolder()

Creates a LoginModuleStackHolder using the information contained in this bean.

Returns:
the constructed LoginModuleStackHolder.

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009 JBoss Inc.. All Rights Reserved.