Class XacmlPdp

java.lang.Object
ddf.security.pdp.realm.xacml.XacmlPdp

public class XacmlPdp extends Object
Performs authorization backed by a XACML-based PDP.
  • Constructor Summary

    Constructors
    Constructor
    Description
    XacmlPdp(String dirPath, org.codice.ddf.parser.Parser parser, List<String> environmentAttributes, ddf.security.audit.SecurityLogger securityLogger)
    Creates a general
  • Method Summary

    Modifier and Type
    Method
    Description
    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)
     
    protected String
    getXacmlDataType(String curPermValue)
     
    boolean
    isPermitted(String primaryPrincipal, org.apache.shiro.authz.AuthorizationInfo info, ddf.security.permission.KeyValueCollectionPermission curPermission)
     
    protected boolean
    isPermitted(oasis.names.tc.xacml._3_0.core.schema.wd_17.RequestType xacmlRequest)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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

      protected String getXacmlDataType(String curPermValue)