org.jboss.security.auth.login
Class BaseAuthenticationInfo

java.lang.Object
  extended by org.jboss.security.config.BaseSecurityInfo<Object>
      extended by org.jboss.security.auth.login.BaseAuthenticationInfo
Direct Known Subclasses:
AuthenticationInfo, JASPIAuthenticationInfo

public class BaseAuthenticationInfo
extends BaseSecurityInfo<Object>

Base for AuthenticationInfo(JAAS) and JASPIAuthenticationInfo(JSR-196)

Since:
Dec 21, 2005
Author:
Field Summary
 
Fields inherited from class org.jboss.security.config.BaseSecurityInfo
GET_CONFIG_ENTRY_PERM, moduleEntries, name, SET_CONFIG_ENTRY_PERM
 
Constructor Summary
BaseAuthenticationInfo()
           
BaseAuthenticationInfo(String name)
           
 
Method Summary
 AppConfigurationEntry[] copyAppConfigurationEntry()
           Creates and returns a copy of the application authentication configuration.
protected  AppConfigurationEntry[] copyAppConfigurationEntry(List<Object> entries)
           Creates and returns a copy of the specified list of AppConfigurationEntry objects, adding the security domain option when necessary.
protected  BaseSecurityInfo<Object> create(String name)
           
 AppConfigurationEntry[] getAppConfigurationEntry()
           Gets the application authentication configuration.
 
Methods inherited from class org.jboss.security.config.BaseSecurityInfo
add, add, getModuleEntries, getName, merge, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseAuthenticationInfo

public BaseAuthenticationInfo()

BaseAuthenticationInfo

public BaseAuthenticationInfo(String name)
Method Detail

create

protected BaseSecurityInfo<Object> create(String name)
Specified by:
create in class BaseSecurityInfo<Object>

getAppConfigurationEntry

public AppConfigurationEntry[] getAppConfigurationEntry()

Gets the application authentication configuration. Execution of this method requires a getLoginConfiguration permission.

Returns:
an AppConfigurationEntry array containing the application's authentication configuration.

copyAppConfigurationEntry

public AppConfigurationEntry[] copyAppConfigurationEntry()

Creates and returns a copy of the application authentication configuration. By default this returns the array created by the copyAppConfigurationEntry(List) method using the moduleEntries as a parameter.

Returns:
an AppConfigurationEntry array containing the copied entries.

copyAppConfigurationEntry

protected AppConfigurationEntry[] copyAppConfigurationEntry(List<Object> entries)

Creates and returns a copy of the specified list of AppConfigurationEntry objects, adding the security domain option when necessary. Execution of this method requires a getLoginConfiguration permission.

Parameters:
entries - a List containing the AppConfigurationEntry objects to be copied.
Returns:
an AppConfigurationEntry array containing the copied entries.


Copyright © 2009 JBoss Inc.. All Rights Reserved.