/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/policy/ |
H A D | ConditionDecision.java | 25 * $Id: ConditionDecision.java,v 1.2 2008/06/25 05:43:43 qcheng Exp $ 38 * The <code>ConditionDecision</code> class represents the result of 45 public class ConditionDecision { class 52 public ConditionDecision() { method in class:ConditionDecision 55 /** Constructs <code>ConditionDecision</code> given the boolean result of 60 public ConditionDecision(boolean allowed) { method in class:ConditionDecision 64 /** Constructs <code>ConditionDecision</code> given the boolean result of 69 * this <code>ConditionDecision</code>. 77 public ConditionDecision(boolean allowed, Map advices) { method in class:ConditionDecision 82 /** Constructs <code>ConditionDecision</cod 89 public ConditionDecision(boolean allowed, long timeToLive) { method in class:ConditionDecision 108 public ConditionDecision(boolean allowed, long timeToLive, Map advices) { method in class:ConditionDecision [all...] |
/forgerock/openam/openam-core/src/main/java/com/sun/identity/policy/ |
H A D | ConditionDecision.java | 25 * $Id: ConditionDecision.java,v 1.2 2008/06/25 05:43:43 qcheng Exp $ 38 * The <code>ConditionDecision</code> class represents the result of 45 public class ConditionDecision { class 52 public ConditionDecision() { method in class:ConditionDecision 55 /** Constructs <code>ConditionDecision</code> given the boolean result of 60 public ConditionDecision(boolean allowed) { method in class:ConditionDecision 64 /** Constructs <code>ConditionDecision</code> given the boolean result of 69 * this <code>ConditionDecision</code>. 77 public ConditionDecision(boolean allowed, Map advices) { method in class:ConditionDecision 82 /** Constructs <code>ConditionDecision</cod 89 public ConditionDecision(boolean allowed, long timeToLive) { method in class:ConditionDecision 108 public ConditionDecision(boolean allowed, long timeToLive, Map advices) { method in class:ConditionDecision [all...] |
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/entitlement/ |
H A D | AndCondition.java | 63 * Returns <code>ConditionDecision</code> of 70 * @return <code>ConditionDecision</code> of 74 public ConditionDecision evaluate(String realm, Subject subject, String resourceName, 80 return ConditionDecision 91 ConditionDecision decision = condition.evaluate(realm, subject, resourceName, environment); 100 return ConditionDecision 108 return ConditionDecision
|
H A D | OrCondition.java | 64 * Evaluates this {@link ConditionDecision}'s {@link EntitlementCondition}s to determine the correct 72 * @return the {@link ConditionDecision} having performed the {@link EntitlementCondition}(s) evaluation. 75 public ConditionDecision evaluate(String realm, Subject subject, String resourceName, 81 return ConditionDecision 92 ConditionDecision decision = condition.evaluate(realm, subject, resourceName, environment); 101 return ConditionDecision 109 return ConditionDecision
|
H A D | ConditionDecision.java | 25 * $Id: ConditionDecision.java,v 1.3 2009/09/05 00:24:04 veiming Exp $ 43 public class ConditionDecision { class 52 * Constructs an instance of <code>ConditionDecision</code>. 57 * result of this <code>ConditionDecision</code>. 59 * Advice map of this <code>ConditionDecision</code>. 62 public ConditionDecision(boolean satisfied, Map<String, Set<String>> advices) { method in class:ConditionDecision 67 * Constructs an instance of <code>ConditionDecision</code>. 72 * Result of this <code>ConditionDecision</code>. 74 * Advice map of this <code>ConditionDecision</code>. 76 * The TTL of this <code>ConditionDecision</cod 79 public ConditionDecision(boolean satisfied, Map<String, Set<String>> advices, long ttl) { method in class:ConditionDecision 86 private ConditionDecision(Builder builder) { method in class:ConditionDecision [all...] |
H A D | EntitlementCondition.java | 96 ConditionDecision evaluate(
|
/forgerock/openam/openam-core/src/main/java/com/sun/identity/entitlement/ |
H A D | AndCondition.java | 63 * Returns <code>ConditionDecision</code> of 70 * @return <code>ConditionDecision</code> of 74 public ConditionDecision evaluate(String realm, Subject subject, String resourceName, 80 return ConditionDecision 91 ConditionDecision decision = condition.evaluate(realm, subject, resourceName, environment); 100 return ConditionDecision 108 return ConditionDecision
|
H A D | OrCondition.java | 64 * Evaluates this {@link ConditionDecision}'s {@link EntitlementCondition}s to determine the correct 72 * @return the {@link ConditionDecision} having performed the {@link EntitlementCondition}(s) evaluation. 75 public ConditionDecision evaluate(String realm, Subject subject, String resourceName, 81 return ConditionDecision 92 ConditionDecision decision = condition.evaluate(realm, subject, resourceName, environment); 101 return ConditionDecision 109 return ConditionDecision
|
H A D | ConditionDecision.java | 25 * $Id: ConditionDecision.java,v 1.3 2009/09/05 00:24:04 veiming Exp $ 43 public class ConditionDecision { class 52 * Constructs an instance of <code>ConditionDecision</code>. 57 * result of this <code>ConditionDecision</code>. 59 * Advice map of this <code>ConditionDecision</code>. 62 public ConditionDecision(boolean satisfied, Map<String, Set<String>> advices) { method in class:ConditionDecision 67 * Constructs an instance of <code>ConditionDecision</code>. 72 * Result of this <code>ConditionDecision</code>. 74 * Advice map of this <code>ConditionDecision</code>. 76 * The TTL of this <code>ConditionDecision</cod 79 public ConditionDecision(boolean satisfied, Map<String, Set<String>> advices, long ttl) { method in class:ConditionDecision 86 private ConditionDecision(Builder builder) { method in class:ConditionDecision [all...] |
H A D | EntitlementCondition.java | 96 ConditionDecision evaluate(
|
/forgerock/openam-v13/openam-core/src/main/java/org/forgerock/openam/entitlement/ |
H A D | PrivilegeEvaluatorContext.java | 28 import com.sun.identity.entitlement.ConditionDecision; 49 private Map<String, ConditionDecision> conditionDecisionCache = new HashMap<String, ConditionDecision>(); 135 public Map<String, ConditionDecision> getConditionDecisionCache() {
|
H A D | CachingEntitlementCondition.java | 18 import com.sun.identity.entitlement.ConditionDecision; 96 public ConditionDecision evaluate(String realm, Subject subject, String resourceName, 110 ConditionDecision cachedResult = context.getConditionDecisionCache() 119 ConditionDecision result = backingCondition.evaluate(realm, subject, resourceName, environment);
|
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/entitlement/ |
H A D | PrivilegeEvaluatorContext.java | 28 import com.sun.identity.entitlement.ConditionDecision; 49 private Map<String, ConditionDecision> conditionDecisionCache = new HashMap<String, ConditionDecision>(); 135 public Map<String, ConditionDecision> getConditionDecisionCache() {
|
H A D | CachingEntitlementCondition.java | 18 import com.sun.identity.entitlement.ConditionDecision; 96 public ConditionDecision evaluate(String realm, Subject subject, String resourceName, 110 ConditionDecision cachedResult = context.getConditionDecisionCache() 119 ConditionDecision result = backingCondition.evaluate(realm, subject, resourceName, environment);
|
/forgerock/openam-v13/openam-entitlements/src/test/java/org/forgerock/openam/entitlement/conditions/environment/ |
H A D | OAuth2ScopeConditionTest.java | 19 import com.sun.identity.entitlement.ConditionDecision; 81 ConditionDecision decision = condition.evaluate(realm, subject, resourceName, env); 101 ConditionDecision decision = condition.evaluate(realm, subject, resourceName, env); 122 ConditionDecision decision = condition.evaluate(realm, subject, resourceName, env); 142 ConditionDecision decision = condition.evaluate(realm, subject, resourceName, env); 163 ConditionDecision decision = condition.evaluate(realm, subject, resourceName, env); 187 ConditionDecision decision = condition.evaluate(realm, subject, resourceName, env); 211 ConditionDecision decision = condition.evaluate(realm, subject, resourceName, env);
|
H A D | AMIdentityMembershipConditionTest.java | 21 import com.sun.identity.entitlement.ConditionDecision; 102 ConditionDecision decision = condition.evaluate(realm, subject, resourceName, env); 123 ConditionDecision decision = condition.evaluate(realm, subject, resourceName, env); 143 ConditionDecision decision = condition.evaluate(realm, subject, resourceName, env); 162 ConditionDecision decision = condition.evaluate(realm, subject, resourceName, env); 185 ConditionDecision decision = condition.evaluate(realm, subject, resourceName, env); 210 ConditionDecision decision = condition.evaluate(realm, subject, resourceName, env); 236 ConditionDecision decision = condition.evaluate(realm, subject, resourceName, env); 267 ConditionDecision decision = condition.evaluate(realm, subject, resourceName, env); 298 ConditionDecision decisio [all...] |
/forgerock/openam/openam-entitlements/src/test/java/org/forgerock/openam/entitlement/conditions/environment/ |
H A D | OAuth2ScopeConditionTest.java | 19 import com.sun.identity.entitlement.ConditionDecision; 81 ConditionDecision decision = condition.evaluate(realm, subject, resourceName, env); 101 ConditionDecision decision = condition.evaluate(realm, subject, resourceName, env); 122 ConditionDecision decision = condition.evaluate(realm, subject, resourceName, env); 142 ConditionDecision decision = condition.evaluate(realm, subject, resourceName, env); 163 ConditionDecision decision = condition.evaluate(realm, subject, resourceName, env); 187 ConditionDecision decision = condition.evaluate(realm, subject, resourceName, env); 211 ConditionDecision decision = condition.evaluate(realm, subject, resourceName, env);
|
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/policy/plugins/ |
H A D | AuthRoleCondition.java | 36 import com.sun.identity.policy.ConditionDecision; 140 * Evaluation of <code>ConditionDecision</code> is influenced by these 212 * to the request as indicated by the <code>ConditionDecision</code>. 218 public ConditionDecision getConditionDecision(SSOToken token, Map env) 229 return new ConditionDecision(false); 237 return new ConditionDecision(true); 241 return new ConditionDecision(false);
|
H A D | PrivilegeCondition.java | 36 import com.sun.identity.policy.ConditionDecision; 151 public ConditionDecision getConditionDecision(SSOToken token, Map env) 153 return new ConditionDecision(false);
|
/forgerock/openam-v13/openam-core/src/test/java/com/sun/identity/policy/plugins/ |
H A D | AuthenticateToRealmConditionTest.java | 19 import com.sun.identity.policy.ConditionDecision; 53 ConditionDecision conditionDecision = condition.getConditionDecision(null, env); 74 ConditionDecision conditionDecision = condition.getConditionDecision(null, env); 95 ConditionDecision conditionDecision = condition.getConditionDecision(null, env); 116 ConditionDecision conditionDecision = condition.getConditionDecision(null, env);
|
/forgerock/openam-v13/openam-entitlements/src/main/java/org/forgerock/openam/entitlement/conditions/environment/ |
H A D | LDAPFilterCondition.java | 34 import com.sun.identity.entitlement.ConditionDecision; 82 public ConditionDecision evaluate(String realm, Subject subject, String resourceName, Map<String, Set<String>> env) 86 return new ConditionDecision(false, Collections.<String, Set<String>>emptyMap()); 91 com.sun.identity.policy.ConditionDecision decision = condition.getConditionDecision(token, env); 92 return new ConditionDecision(decision.isAllowed(), decision.getAdvices(), decision.getTimeToLive());
|
/forgerock/openam/openam-core/src/main/java/com/sun/identity/policy/plugins/ |
H A D | AuthRoleCondition.java | 36 import com.sun.identity.policy.ConditionDecision; 140 * Evaluation of <code>ConditionDecision</code> is influenced by these 212 * to the request as indicated by the <code>ConditionDecision</code>. 218 public ConditionDecision getConditionDecision(SSOToken token, Map env) 229 return new ConditionDecision(false); 237 return new ConditionDecision(true); 241 return new ConditionDecision(false);
|
/forgerock/openam/openam-core/src/test/java/com/sun/identity/policy/plugins/ |
H A D | AuthenticateToRealmConditionTest.java | 19 import com.sun.identity.policy.ConditionDecision; 53 ConditionDecision conditionDecision = condition.getConditionDecision(null, env); 74 ConditionDecision conditionDecision = condition.getConditionDecision(null, env); 95 ConditionDecision conditionDecision = condition.getConditionDecision(null, env); 116 ConditionDecision conditionDecision = condition.getConditionDecision(null, env);
|
/forgerock/openam/openam-entitlements/src/main/java/org/forgerock/openam/entitlement/conditions/environment/ |
H A D | LDAPFilterCondition.java | 34 import com.sun.identity.entitlement.ConditionDecision; 82 public ConditionDecision evaluate(String realm, Subject subject, String resourceName, Map<String, Set<String>> env) 86 return new ConditionDecision(false, Collections.<String, Set<String>>emptyMap()); 91 com.sun.identity.policy.ConditionDecision decision = condition.getConditionDecision(token, env); 92 return new ConditionDecision(decision.isAllowed(), decision.getAdvices(), decision.getTimeToLive());
|
/forgerock/openam-v13/openam-distribution/src/main/amserver/samples/server/source/com/sun/identity/samples/policy/ |
H A D | SampleCondition.java | 34 import com.sun.identity.policy.ConditionDecision; 128 * Evaluation of ConditionDecision is influenced by these properties. 201 public ConditionDecision getConditionDecision(SSOToken token, Map env) 218 return new ConditionDecision(allowed);
|