Class XacmlClient

java.lang.Object
ddf.security.pdp.realm.xacml.processor.XacmlClient

public class XacmlClient extends Object
Implementation of a XACML Policy Decision Point (PDP). This class acts as a proxy to the real XACML PDP.
  • Constructor Summary

    Constructors
    Constructor
    Description
    XacmlClient(String relativeXacmlPoliciesDirectoryPath, org.codice.ddf.parser.Parser parser, ddf.security.audit.SecurityLogger securityLogger)
    Creates the proxy to the real XACML PDP.
  • Method Summary

    Modifier and Type
    Method
    Description
    oasis.names.tc.xacml._3_0.core.schema.wd_17.ResponseType
    evaluate(oasis.names.tc.xacml._3_0.core.schema.wd_17.RequestType xacmlRequestType)
    Evaluates the XACML request and returns a XACML response.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • XacmlClient

      public XacmlClient(String relativeXacmlPoliciesDirectoryPath, org.codice.ddf.parser.Parser parser, ddf.security.audit.SecurityLogger securityLogger) throws PdpException
      Creates the proxy to the real XACML PDP.
      Parameters:
      relativeXacmlPoliciesDirectoryPath - Relative directory path to the root of the DDF installation.
      parser - for marshal and unmarshal
      Throws:
      PdpException
  • Method Details

    • evaluate

      public oasis.names.tc.xacml._3_0.core.schema.wd_17.ResponseType evaluate(oasis.names.tc.xacml._3_0.core.schema.wd_17.RequestType xacmlRequestType) throws PdpException
      Evaluates the XACML request and returns a XACML response.
      Parameters:
      xacmlRequestType - XACML request
      Returns:
      XACML response
      Throws:
      PdpException