org.jboss.security.microcontainer.beans.metadata
Class IdentityTrustMetaData
java.lang.Object
org.jboss.security.microcontainer.beans.metadata.BasePolicyMetaData
org.jboss.security.microcontainer.beans.metadata.IdentityTrustMetaData
public class IdentityTrustMetaData
- extends BasePolicyMetaData
This class represents the <identity-trust> configuration in an application policy and contains the
identity-trust metadata information extracted by the XB parser.
The following policy excerpt shows an example of <identity-trust> configuration:
<application-policy xmlns="urn:jboss:security-beans:1.0" name="TestPolicy1">
<authentication>
...
</authentication>
...
<identity-trust>
<trust-module code="org.jboss.security.trust.IdentityTrustModule" flag="required">
<module-option name="trustOption1">trust.value1</module-option>
<module-option name="trustOption2">trust.value2</module-option>
</trust-module>
</identity-trust>
</application-policy>
The metadata that results from the XB parsing is used by the microcontainer to create an instance of
IdentityTrustPolicyBean and inject this instance into the ApplicationPolicyBean that represents the
application policy as a whole.
- Author:
- Stefan Guilhen
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IdentityTrustMetaData
public IdentityTrustMetaData()
setModules
public void setModules(List<BaseModuleMetaData> modules)
- Description copied from class:
BasePolicyMetaData
Sets the metadata of the modules that have been specified for the policy.
- Overrides:
setModules in class BasePolicyMetaData
- Parameters:
modules - a List<BaseModuleMetaData> containing the metadata to be set.
Copyright © 2008 JBoss Inc.. All Rights Reserved.