Package ddf.security.pdp.realm.xacml
Class XacmlPdp
java.lang.Object
ddf.security.pdp.realm.xacml.XacmlPdp
Performs authorization backed by a XACML-based PDP.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected oasis.names.tc.xacml._3_0.core.schema.wd_17.RequestTypecreateXACMLRequest(String subject, org.apache.shiro.authz.AuthorizationInfo info, ddf.security.permission.CollectionPermission permission) protected StringgetXacmlDataType(String curPermValue) booleanisPermitted(String primaryPrincipal, org.apache.shiro.authz.AuthorizationInfo info, ddf.security.permission.KeyValueCollectionPermission curPermission) protected booleanisPermitted(oasis.names.tc.xacml._3_0.core.schema.wd_17.RequestType xacmlRequest)
-
Constructor Details
-
XacmlPdp
public XacmlPdp(String dirPath, org.codice.ddf.parser.Parser parser, List<String> environmentAttributes, ddf.security.audit.SecurityLogger securityLogger) throws PdpException Creates a general- Throws:
PdpException
-
-
Method Details
-
isPermitted
public boolean isPermitted(String primaryPrincipal, org.apache.shiro.authz.AuthorizationInfo info, ddf.security.permission.KeyValueCollectionPermission curPermission) -
createXACMLRequest
protected oasis.names.tc.xacml._3_0.core.schema.wd_17.RequestType createXACMLRequest(String subject, org.apache.shiro.authz.AuthorizationInfo info, ddf.security.permission.CollectionPermission permission) -
isPermitted
protected boolean isPermitted(oasis.names.tc.xacml._3_0.core.schema.wd_17.RequestType xacmlRequest) -
getXacmlDataType
-