org.jboss.security.microcontainer.beans.metadata
Class ACLMetaData
java.lang.Object
org.jboss.security.microcontainer.beans.metadata.BasePolicyMetaData
org.jboss.security.microcontainer.beans.metadata.ACLMetaData
public class ACLMetaData
- extends BasePolicyMetaData
This class represents the <acl> configuration in an application policy and contains the acl (instance-based
authorization) metadata information extracted by the XB parser.
The following policy excerpt shows an example of <acl> configuration:
<application-policy xmlns="urn:jboss:security-beans:1.0" name="TestPolicy1">
<authentication>
...
</authentication>
<acl>
<acl-module code="org.jboss.security.authz.ACLModule1" flag="required">
<module-option name="aclOption1">acl1.value1</module-option>
</acl-module>
<acl-module code="org.jboss.security.authz.ACLModule2" flag="required">
<module-option name="aclOption1">acl2.value1</module-option>
<module-option name="aclOption2">acl2.value2</module-option>
</acl-module>
</acl>
...
</application-policy>
The metadata that results from the XB parsing is used by the microcontainer to create an instance of
ACLPolicyBean 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 |
ACLMetaData
public ACLMetaData()
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.