I am trying to use jboss-xacml for security in our application. I've managed to create policies successfully and am now trying to create policy sets and add the policies to the set using:
policySetType.getPolicySetOrPolicyOrPolicySetIdReference().add(policyType)
The javadoc states that this should take PolicyType objects but the above code gives me an error stating the policyType is not a JAXBElement.
How do I add PolicyType objects to the PolicySetType?
My apologies if this is the wrong forum for this question.
Thanks,
Lori