public class XacmlPdp extends Object
Constructor and Description |
---|
XacmlPdp(String dirPath,
Parser parser,
List<String> environmentAttributes)
Creates a general
|
Modifier and Type | Method and Description |
---|---|
protected RequestType |
createXACMLRequest(String subject,
org.apache.shiro.authz.AuthorizationInfo info,
CollectionPermission permission) |
protected String |
getXacmlDataType(String curPermValue) |
protected boolean |
isPermitted(RequestType xacmlRequest) |
boolean |
isPermitted(String primaryPrincipal,
org.apache.shiro.authz.AuthorizationInfo info,
KeyValueCollectionPermission curPermission) |
public XacmlPdp(String dirPath, Parser parser, List<String> environmentAttributes) throws PdpException
PdpException
public boolean isPermitted(String primaryPrincipal, org.apache.shiro.authz.AuthorizationInfo info, KeyValueCollectionPermission curPermission)
protected RequestType createXACMLRequest(String subject, org.apache.shiro.authz.AuthorizationInfo info, CollectionPermission permission)
protected boolean isPermitted(RequestType xacmlRequest)
This work is licensed under a Creative Commons Attribution 4.0 International License.