Hi,
under address http://community.jboss.org/wiki/XACMLRBACLocator there is an examle of using many policy sets using configuration xml file.
Is it possible to use many policy sets and load them from the code? e.g.
When I write:
XACMLPolicy ps1 = PolicyFactory.createPolicySet(new FileInputStream(new File("policySet1.xml")));
XACMLPolicy ps2 = PolicyFactory.createPolicy(new FileInputStream(new File("policySet2.xml")));
policies = new HashSet<XACMLPolicy>();
policies.add(ps1);
policies.add(ps2);