Class XACMLPDP
java.lang.Object
org.palladiosimulator.pcm.confidentiality.context.xacml.javapdp.XACMLPDP
- All Implemented Interfaces:
Evaluate
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionevaluate
(List<org.palladiosimulator.pcm.confidentiality.context.system.UsageSpecification> subject, List<org.palladiosimulator.pcm.confidentiality.context.system.UsageSpecification> environment, List<org.palladiosimulator.pcm.confidentiality.context.system.UsageSpecification> resource, List<org.palladiosimulator.pcm.confidentiality.context.system.UsageSpecification> operation, List<org.palladiosimulator.pcm.confidentiality.context.system.UsageSpecification> xacmlAttribute) Evaluates the given attribute set at the PDPboolean
initialize
(String pathXACMLFile) Initialise the ABAC-PDP with the given XACML policy filevoid
shutdown()
Shutdowns the evaluation context.
-
Constructor Details
-
XACMLPDP
public XACMLPDP()
-
-
Method Details
-
evaluate
public Optional<PDPResult> evaluate(List<org.palladiosimulator.pcm.confidentiality.context.system.UsageSpecification> subject, List<org.palladiosimulator.pcm.confidentiality.context.system.UsageSpecification> environment, List<org.palladiosimulator.pcm.confidentiality.context.system.UsageSpecification> resource, List<org.palladiosimulator.pcm.confidentiality.context.system.UsageSpecification> operation, List<org.palladiosimulator.pcm.confidentiality.context.system.UsageSpecification> xacmlAttribute) Description copied from interface:Evaluate
Evaluates the given attribute set at the PDP -
initialize
Description copied from interface:Evaluate
Initialise the ABAC-PDP with the given XACML policy file- Specified by:
initialize
in interfaceEvaluate
- Parameters:
pathXACMLFile
- path to XACML file- Returns:
- true if init was successful
-
shutdown
public void shutdown()Description copied from interface:Evaluate
Shutdowns the evaluation context. Before shutdown theEvaluate.initialize
must be executed
-