Package org.jboss.security.auth.login
Class JASPIAuthenticationInfo
- java.lang.Object
-
- org.jboss.security.config.BaseSecurityInfo<Object>
-
- org.jboss.security.auth.login.BaseAuthenticationInfo
-
- org.jboss.security.auth.login.JASPIAuthenticationInfo
-
public class JASPIAuthenticationInfo extends BaseAuthenticationInfo
AuthenticationInfo based on JSR-196- Since:
- Dec 21, 2005
- Author:
- Anil Saldhana, Marcus Moyses
-
-
Field Summary
-
Fields inherited from class org.jboss.security.config.BaseSecurityInfo
GET_CONFIG_ENTRY_PERM, jbossModuleNames, moduleEntries, name, SET_CONFIG_ENTRY_PERM
-
-
Constructor Summary
Constructors Constructor Description JASPIAuthenticationInfo()Creates an instance ofJASPIAuthenticationInfo.JASPIAuthenticationInfo(String name)Creates an instance ofJASPIAuthenticationInfowith the specified name.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(AuthModuleEntry ame)voidadd(LoginModuleStackHolder lmsHolder)voidcopy(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()LoginModuleStackHoldergetLoginModuleStackHolder(String name)BaseSecurityInfo<Object>merge(BaseSecurityInfo<Object> bi)Overriden to include the stacks of login modules in the merged object.LoginModuleStackHolderremoveLoginModuleStackHolder(String name)StringtoString()voidwriteContent(XMLStreamWriter writer)Write element content.-
Methods inherited from class org.jboss.security.auth.login.BaseAuthenticationInfo
copyAppConfigurationEntry
-
Methods inherited from class org.jboss.security.config.BaseSecurityInfo
add, add, addJBossModuleName, getJBossModuleName, getJBossModuleNames, getModuleEntries, getName, setJBossModuleName, setName
-
-
-
-
Constructor Detail
-
JASPIAuthenticationInfo
public JASPIAuthenticationInfo()
Creates an instance of
JASPIAuthenticationInfo.
-
JASPIAuthenticationInfo
public JASPIAuthenticationInfo(String name)
Creates an instance of
JASPIAuthenticationInfowith the specified name.- Parameters:
name- the name of the enclosingApplicationPolicy.
-
-
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:
getAppConfigurationEntryin classBaseAuthenticationInfo- Returns:
- an
AppConfigurationEntryarray 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:
copyAppConfigurationEntryin classBaseAuthenticationInfo- Returns:
- an
AppConfigurationEntryarray containing the copied entries.
-
create
protected BaseSecurityInfo<Object> create(String name)
- Overrides:
createin classBaseAuthenticationInfo
-
merge
public BaseSecurityInfo<Object> merge(BaseSecurityInfo<Object> bi)
Overriden to include the stacks of login modules in the merged object.
- Overrides:
mergein classBaseSecurityInfo<Object>
-
writeContent
public void writeContent(XMLStreamWriter writer) throws XMLStreamException
Write element content. The start element is already written.- Parameters:
writer-- Throws:
XMLStreamException
-
-