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 ofJASPIAuthenticationInfo
with the specified name.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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()
void
writeContent(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
JASPIAuthenticationInfo
with 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:
getAppConfigurationEntry
in classBaseAuthenticationInfo
- 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 classBaseAuthenticationInfo
- Returns:
- an
AppConfigurationEntry
array containing the copied entries.
-
create
protected BaseSecurityInfo<Object> create(String name)
- Overrides:
create
in classBaseAuthenticationInfo
-
merge
public BaseSecurityInfo<Object> merge(BaseSecurityInfo<Object> bi)
Overriden to include the stacks of login modules in the merged object.
- Overrides:
merge
in classBaseSecurityInfo<Object>
-
writeContent
public void writeContent(XMLStreamWriter writer) throws XMLStreamException
Write element content. The start element is already written.- Parameters:
writer
-- Throws:
XMLStreamException
-
-