john john [
http://community.jboss.org/people/john78] created the discussion
"Using many policy sets"
To view the discussion, visit:
http://community.jboss.org/message/612978#612978
--------------------------------------------------------------
Hi,
under address
http://community.jboss.org/docs/DOC-16676
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);
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/612978#612978]
Start a new discussion in PicketBox Development at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]