org.jboss.security.microcontainer.beans
Class JASPIAuthenticationPolicyBean

java.lang.Object
  extended by org.jboss.security.microcontainer.beans.BasePolicyBean<M,BaseAuthenticationInfo>
      extended by org.jboss.security.microcontainer.beans.BaseAuthenticationPolicy<StackRefPolicyModule>
          extended by org.jboss.security.microcontainer.beans.JASPIAuthenticationPolicyBean

public class JASPIAuthenticationPolicyBean
extends BaseAuthenticationPolicy<StackRefPolicyModule>

This class represents a jaspi authentication policy. An authentication policy describes the mechanisms and modules that must be used in order to authenticate the users when they attempt to access a resource that is protected by a security domain.

Author:
Stefan Guilhen

Field Summary
 
Fields inherited from class org.jboss.security.microcontainer.beans.BasePolicyBean
modules
 
Constructor Summary
JASPIAuthenticationPolicyBean()
           Created an instance of JASPIAuthenticationPolicyBean.
 
Method Summary
 List<LoginModuleStackBean> getModuleStacks()
           Obtains the login-module stacks of the policy.
 BaseAuthenticationInfo getPolicyInfo(String domainName)
           Creates a security info object using the information contained in this policy bean.
 void setModuleStacks(List<LoginModuleStackBean> moduleStacks)
           Sets the login-module stacks of the policy.
 String toString()
           
 
Methods inherited from class org.jboss.security.microcontainer.beans.BasePolicyBean
getModules, setModules
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JASPIAuthenticationPolicyBean

public JASPIAuthenticationPolicyBean()

Created an instance of JASPIAuthenticationPolicyBean.

Method Detail

getModuleStacks

public List<LoginModuleStackBean> getModuleStacks()

Obtains the login-module stacks of the policy.

Returns:
a List<LoginModuleStackBean> containing the policy's login-module stacks.

setModuleStacks

public void setModuleStacks(List<LoginModuleStackBean> moduleStacks)

Sets the login-module stacks of the policy.

Parameters:
moduleStacks - a List<LoginModuleStackBean> containing the stacks to be set.

getPolicyInfo

public BaseAuthenticationInfo getPolicyInfo(String domainName)
Description copied from class: BasePolicyBean

Creates a security info object using the information contained in this policy bean.

Specified by:
getPolicyInfo in class BaseAuthenticationPolicy<StackRefPolicyModule>
Parameters:
domainName - a String containing the security domain name of this policy.
Returns:
the generated info object.

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009 JBoss Inc.. All Rights Reserved.