[jboss-dev-forums] [PicketBox Development] - Using many policy sets
john john
do-not-reply at jboss.com
Fri Jul 1 09:12:48 EDT 2011
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&containerType=14&container=2088]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20110701/010bbff4/attachment.html
More information about the jboss-dev-forums
mailing list