org.jboss.security.auth.login
Class JASPIAuthenticationInfo

java.lang.Object
  extended by org.jboss.security.config.BaseSecurityInfo<Object>
      extended by org.jboss.security.auth.login.BaseAuthenticationInfo
          extended by org.jboss.security.auth.login.JASPIAuthenticationInfo

public class JASPIAuthenticationInfo
extends BaseAuthenticationInfo

AuthenticationInfo based on JSR-196

Since:
Dec 21, 2005
Author:
Anil Saldhana

Field Summary
 
Fields inherited from class org.jboss.security.config.BaseSecurityInfo
GET_CONFIG_ENTRY_PERM, moduleEntries, name, SET_CONFIG_ENTRY_PERM
 
Constructor Summary
JASPIAuthenticationInfo()
           Creates an instance of JASPIAuthenticationInfo.
JASPIAuthenticationInfo(String name)
           Creates an instance of JASPIAuthenticationInfo with the specified name.
 
Method Summary
 void add(AuthModuleEntry ame)
           
 void add(LoginModuleStackHolder lmsHolder)
           
 void copy(JASPIAuthenticationInfo pc)
           
 AppConfigurationEntry[] copyAppConfigurationEntry()
           Overridden to copy the entries that have been configured in the login-module-stack.
protected  BaseSecurityInfo<Object> create(String name)
           
 AppConfigurationEntry[] getAppConfigurationEntry()
           Overridden to return the entries that have been configured in the login-config-stack.
 AuthModuleEntry[] getAuthModuleEntry()
           
 LoginModuleStackHolder[] getLoginModuleStackHolder()
           
 LoginModuleStackHolder getLoginModuleStackHolder(String name)
           
 BaseSecurityInfo<Object> merge(BaseSecurityInfo<Object> bi)
           Overriden to include the stacks of login modules in the merged object.
 LoginModuleStackHolder removeLoginModuleStackHolder(String name)
           
 String toString()
           
 
Methods inherited from class org.jboss.security.auth.login.BaseAuthenticationInfo
copyAppConfigurationEntry
 
Methods inherited from class org.jboss.security.config.BaseSecurityInfo
add, add, getModuleEntries, getName, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JASPIAuthenticationInfo

public JASPIAuthenticationInfo()

Creates an instance of JASPIAuthenticationInfo.


JASPIAuthenticationInfo

public JASPIAuthenticationInfo(String name)

Creates an instance of JASPIAuthenticationInfo with the specified name.

Parameters:
name - the name of the enclosing ApplicationPolicy.
Method Detail

add

public void add(LoginModuleStackHolder lmsHolder)

add

public void add(AuthModuleEntry ame)

getAuthModuleEntry

public AuthModuleEntry[] getAuthModuleEntry()

getLoginModuleStackHolder

public LoginModuleStackHolder getLoginModuleStackHolder(String name)

getLoginModuleStackHolder

public LoginModuleStackHolder[] getLoginModuleStackHolder()

removeLoginModuleStackHolder

public LoginModuleStackHolder removeLoginModuleStackHolder(String name)

copy

public void copy(JASPIAuthenticationInfo pc)

getAppConfigurationEntry

public AppConfigurationEntry[] getAppConfigurationEntry()

Overridden to return the entries that have been configured in the login-config-stack. If more than one stack has been configured, then the entries corresponding to the first stack will be returned.

Overrides:
getAppConfigurationEntry in class BaseAuthenticationInfo
Returns:
an AppConfigurationEntry array containing the application's authentication configuration.

copyAppConfigurationEntry

public AppConfigurationEntry[] copyAppConfigurationEntry()

Overridden to copy the entries that have been configured in the login-module-stack. If more than one stack has been configured, then the entries corresponding to the first stack will be copied and returned.

Overrides:
copyAppConfigurationEntry in class BaseAuthenticationInfo
Returns:
an AppConfigurationEntry array containing the copied entries.

create

protected BaseSecurityInfo<Object> create(String name)
Overrides:
create in class BaseAuthenticationInfo

merge

public BaseSecurityInfo<Object> merge(BaseSecurityInfo<Object> bi)

Overriden to include the stacks of login modules in the merged object.

Overrides:
merge in class BaseSecurityInfo<Object>

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009 JBoss Inc.. All Rights Reserved.