Class DenyOverride


  • public class DenyOverride
    extends EntitlementCombiner
    Deny Override combine entitlement with false override true.
    • Constructor Detail

      • DenyOverride

        public DenyOverride()
    • Method Detail

      • combine

        protected boolean combine​(Boolean b1,
                                  Boolean b2)
        Description copied from class: EntitlementCombiner
        Returns the result of combining two entitlement decisions.
        Specified by:
        combine in class EntitlementCombiner
        Parameters:
        b1 - entitlement decision.
        b2 - entitlement decision.
        Returns:
        result of combining two entitlement decisions.
      • isCompleted

        protected boolean isCompleted()
        Attempts to inform the caller whether process can complete early. If passed actions have been passed to the engine and all are present and set to deny in the merged policy decision, then in the case of deny overrides there is no point processing any remaining policies.
        Specified by:
        isCompleted in class EntitlementCombiner
        Returns:
        whether enough is known such that evaluation can complete early.