org.jboss.security.acl.config
Class ACLConfiguration

java.lang.Object
  extended by org.jboss.security.acl.config.ACLConfiguration

public class ACLConfiguration
extends Object

The ACLConfiguration class contains all ACL definitions that have been specified in an XML file according to the jboss-acl-configuration schema. Each definition is used to construct an ACL instance that will protect the specified resource according to the permissions that are assigned to each identity.

Author:
Stefan Guilhen

Constructor Summary
ACLConfiguration()
           
 
Method Summary
 void addDefinition(Object definition)
           Adds a parsed ACLDefinition object to the map of definitions.
 Set<org.jboss.security.acl.ACL> getConfiguredACLs()
           Creates and returns the ACL objects that correspond to the acl-definitions specified in the XML configuration file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ACLConfiguration

public ACLConfiguration()
Method Detail

addDefinition

public void addDefinition(Object definition)

Adds a parsed ACLDefinition object to the map of definitions.

Parameters:
definition - the ACLDefinition instance to be added.

getConfiguredACLs

public Set<org.jboss.security.acl.ACL> getConfiguredACLs()

Creates and returns the ACL objects that correspond to the acl-definitions specified in the XML configuration file.

Returns:
a Set<ACL> containing the generated ACLs.


Copyright © 2009 JBoss Inc.. All Rights Reserved.