Class JsonPathDecisionEnforcer

  • All Implemented Interfaces:
    DecisionEnforcer

    public class JsonPathDecisionEnforcer
    extends Object
    implements DecisionEnforcer
    Decision Enforcer that uses JsonPath to provide expressions to
    • Constructor Detail

      • JsonPathDecisionEnforcer

        public JsonPathDecisionEnforcer()
    • Method Detail

      • enforce

        public de.fraunhofer.iese.mydata.policy.parameter.ParameterList enforce​(de.fraunhofer.iese.mydata.policy.decision.AuthorizationDecision authorizationDecision,
                                                                                de.fraunhofer.iese.mydata.policy.parameter.ParameterList parameterList)
                                                                         throws de.fraunhofer.iese.mydata.policy.exception.InhibitException
        Description copied from interface: DecisionEnforcer
        To enforce @AuthorizationDecision to @ParameterList
        Specified by:
        enforce in interface DecisionEnforcer
        Parameters:
        authorizationDecision - decision by PDP.
        parameterList - Parameter list send via PDP.
        Returns:
        ParameterList of parameters to be used.
        Throws:
        de.fraunhofer.iese.mydata.policy.exception.InhibitException - If the modification cannot be performed.