public class AndCondition extends LogicalCondition
EntitlementCondition
wrapper on a set of
EntitlementCondition
(s) to provide
boolean OR logic Membership is of AndCondition
is satisfied
if the user is a member of any of the wrapped
EntitlementCondition
.Constructor and Description |
---|
AndCondition()
Constructs
AndCondition |
AndCondition(Set<EntitlementCondition> eConditions)
Constructs AndCondition
|
Modifier and Type | Method and Description |
---|---|
ConditionDecision |
evaluate(String realm,
Subject subject,
String resourceName,
Map<String,Set<String>> environment)
Returns
ConditionDecision of
EntitlementCondition evaluation |
equals, getEConditions, getPConditionName, getState, hashCode, setEConditions, setPConditionName, setState, toJSONObject, toString, validate
getDisplayType, init, setDisplayType, setState, toJSONObject
public AndCondition()
AndCondition
public AndCondition(Set<EntitlementCondition> eConditions)
eConditions
- wrapped EntitlementCondition
(s)public ConditionDecision evaluate(String realm, Subject subject, String resourceName, Map<String,Set<String>> environment) throws EntitlementException
ConditionDecision
of
EntitlementCondition
evaluationevaluate
in interface EntitlementCondition
evaluate
in class LogicalCondition
realm
- Realm name.subject
- EntitlementCondition who is under evaluation.resourceName
- Resource name.environment
- Environment parameters.ConditionDecision
of
EntitlementCondition
evaluationEntitlementException
- if error occurs.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.