Class PolicyPojo
- java.lang.Object
-
- org.ow2.authzforce.core.pdp.testutil.ext.PolicyPojo
-
public final class PolicyPojo extends Object
Policy POJO for (un)marshalling to (from) JSON
-
-
Constructor Summary
Constructors Constructor Description PolicyPojo(String id, String version, String type, String content)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getContent()
String
getId()
String
getType()
String
getVersion()
String
toString()
-
-
-
Constructor Detail
-
PolicyPojo
public PolicyPojo(String id, String version, String type, String content)
Constructor- Parameters:
id
- Policy(Set) IDversion
- Policy(Set) versiontype
- policy type, e.g. "{urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}Policy" (resp. {urn:oasis:names:tc:xacml:3.0:core:schema:wd-17}PolicySet) for XACML 3.0 Policy (resp. PolicySet)content
- Policy(Set) document as plain text
-
-