Package com.sun.identity.entitlement
Class DenyOverride
- java.lang.Object
-
- com.sun.identity.entitlement.EntitlementCombiner
-
- com.sun.identity.entitlement.DenyOverride
-
public class DenyOverride extends EntitlementCombiner
Deny Override combine entitlement withfalseoverridetrue.
-
-
Constructor Summary
Constructors Constructor Description DenyOverride()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancombine(Boolean b1, Boolean b2)Returns the result of combining two entitlement decisions.protected booleanisCompleted()Attempts to inform the caller whether process can complete early.-
Methods inherited from class com.sun.identity.entitlement.EntitlementCombiner
add, getActions, getName, getResourceComparator, getResults, getRootE, init, init, isDone, isRecursive, mergeActionValues, mergeAdvices, mergeAttributes, mergeTimeToLiveValue
-
-
-
-
Method Detail
-
combine
protected boolean combine(Boolean b1, Boolean b2)
Description copied from class:EntitlementCombinerReturns the result of combining two entitlement decisions.- Specified by:
combinein classEntitlementCombiner- 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:
isCompletedin classEntitlementCombiner- Returns:
- whether enough is known such that evaluation can complete early.
-
-