2 Replies Latest reply on Jun 9, 2009 8:28 AM by shmackie

    Jboss XACML and PolicySet's

    shmackie

      Hi there,

      I have a question in relation to the JBoss XACML library and it's implementation of Policy sets.

      Looking at the examples in the user guide we are told that:

      The interface org.jboss.security.xacml.interfaces.XACMLPolicy represents either a Policy or a PolicySet and is represented in the method in the PDP when you want to pass a set of pre-constructed instances, as shown below


      And by looking at the example code, I assume this means that PolicySet's are represented by a Set of XACMLPolicy objects. IE, Set

      But I was wondering how, using this method, to specify the PolicySet specific XML attributes and tags, for example, and possibly more importantly, , etc?

      I ask because I am trying to implement the XACML RBAC profile using the libraries object model, and I'm not sure how to do it without these PolicySet specific tags.

      Cheers,
      James

        • 1. Re: Jboss XACML and PolicySet's
          shmackie

          Sorry, the forum ate my <'s and >'s hehe.

          I'll try the last bit again:

          And by looking at the example code, I assume this means that PolicySet's are represented by a Set of XACMLPolicy objects. IE,

          Set<XACMLPolicy>


          But I was wondering how, using this method, to specify the PolicySet specific XML attributes and tags, for example,
          <PolicyCombiningAlgId>
          and possibly more importantly,
          <PolicySetIdReference>
          , etc?

          I ask because I am trying to implement the XACML RBAC profile using the libraries object model, and I'm not sure how to do it without these PolicySet specific tags.

          Cheers,
          James

          • 2. Please...
            shmackie

            Any help for this newbie would be greatly appreciated.