Class XacmlClient
java.lang.Object
ddf.security.pdp.realm.xacml.processor.XacmlClient
Implementation of a XACML Policy Decision Point (PDP). This class acts as a proxy to the real
XACML PDP.
-
Constructor Summary
ConstructorsConstructorDescriptionXacmlClient(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 TypeMethodDescriptionoasis.names.tc.xacml._3_0.core.schema.wd_17.ResponseTypeevaluate(oasis.names.tc.xacml._3_0.core.schema.wd_17.RequestType xacmlRequestType) Evaluates the XACML request and returns a XACML response.
-
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
-