org.jboss.security.microcontainer.beans.metadata
Class RoleMappingMetaData
java.lang.Object
org.jboss.security.microcontainer.beans.metadata.BasePolicyMetaData
org.jboss.security.microcontainer.beans.metadata.RoleMappingMetaData
public class RoleMappingMetaData
- extends BasePolicyMetaData
This class represents the <rolemapping> configuration in an application policy and contains the role-mapping
metadata information extracted by the XB parser.
The following policy excerpt shows an example of <rolemapping> configuration:
<application-policy xmlns="urn:jboss:security-beans:1.0" name="TestPolicy1">
<authentication>
...
</authentication>
...
<rolemapping>
<mapping-module code="org.jboss.security.mapping.RoleMappingModule">
<module-option name="mappingOption1">mapping.value1</module-option>
<module-option name="mappingOption2">mapping.value2</module-option>
</mapping-module>
</rolemapping>
...
</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 |
RoleMappingMetaData
public RoleMappingMetaData()
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.