Searched refs:advice (Results 1 - 25 of 53) sorted by relevance

123

/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/entitlement/
H A DConditionDecision.java39 * Class to represent {@link EntitlementCondition} evaluation match result and - if applicable - its advice.
46 private final Map<String, Set<String>> advice; field in class:ConditionDecision
81 this.advice = new HashMap<>(advices);
88 advice = builder.advice;
105 * @return advice of <code>ConditionDecision</code>.
108 return Collections.unmodifiableMap(advice);
130 * Clears the current advice associated with this <code>ConditionDecision</code>.
136 advice.clear();
140 * Adds an advice (fro
194 private Map<String, Set<String>> advice; field in class:ConditionDecision.Builder
213 setAdvice(Map<String, Set<String>> advice) argument
[all...]
H A DAndCondition.java85 Map<String, Set<String>> advice = new HashMap<>();
92 advice.putAll(decision.getAdvice());
102 .setAdvice(advice)
H A DOrCondition.java86 Map<String, Set<String>> advice = new HashMap<>();
93 advice.putAll(decision.getAdvice());
111 .setAdvice(advice)
/forgerock/openam/openam-core/src/main/java/com/sun/identity/entitlement/
H A DConditionDecision.java39 * Class to represent {@link EntitlementCondition} evaluation match result and - if applicable - its advice.
46 private final Map<String, Set<String>> advice; field in class:ConditionDecision
81 this.advice = new HashMap<>(advices);
88 advice = builder.advice;
105 * @return advice of <code>ConditionDecision</code>.
108 return Collections.unmodifiableMap(advice);
130 * Clears the current advice associated with this <code>ConditionDecision</code>.
136 advice.clear();
140 * Adds an advice (fro
194 private Map<String, Set<String>> advice; field in class:ConditionDecision.Builder
213 setAdvice(Map<String, Set<String>> advice) argument
[all...]
H A DAndCondition.java85 Map<String, Set<String>> advice = new HashMap<>();
92 advice.putAll(decision.getAdvice());
102 .setAdvice(advice)
H A DOrCondition.java86 Map<String, Set<String>> advice = new HashMap<>();
93 advice.putAll(decision.getAdvice());
111 .setAdvice(advice)
/forgerock/openam-v13/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/
H A DAssociatedAdvice.java66 "advice"
71 protected List<Advice> advice; field in class:AssociatedAdvice
74 * Gets the value of the advice property.
80 * This is why there is not a <CODE>set</CODE> method for the advice property.
96 if (advice == null) {
97 advice = new ArrayList<Advice>();
99 return this.advice;
/forgerock/openam/openam-schema/openam-xacml3-schema/src/main/java/com/sun/identity/entitlement/xacml3/core/
H A DAssociatedAdvice.java66 "advice"
71 protected List<Advice> advice; field in class:AssociatedAdvice
74 * Gets the value of the advice property.
80 * This is why there is not a <CODE>set</CODE> method for the advice property.
96 if (advice == null) {
97 advice = new ArrayList<Advice>();
99 return this.advice;
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/policy/util/
H A DGateway.java183 String advice = getPolicyAdvice(ad) ;
186 if (advice != null) {
188 int index1 = advice.indexOf("=");
190 adv = adv.append(advice.substring(0 , index1 + 1));
191 int index2 = advice.indexOf(":");
193 orgName = advice.substring(index1 + 1 , index2);
194 adv = adv.append(advice.substring(index2 + 1));
195 advice = adv.toString();
201 debug.message("GatewayServlet: advice from getPolicyAdvice(): "
202 + advice);
[all...]
H A DPolicyDecisionUtils.java111 * the redirection URL (this is the redirection advice case).
112 * If the return List is empty, it means that there is no policy advice for
157 * Returns the matching policy advice. The method finds the advice
159 * realm/user/role/authlevel/service/module advice from the
187 // handle module/service/user/role/authlevel advice
188 // TBD : may want handle composite advice later??
212 // there is no advice for this specific realm, just pick anyone.
213 // That advice will be for a different realm
226 // find first advice whic
[all...]
/forgerock/openam/openam-core/src/main/java/com/sun/identity/policy/util/
H A DGateway.java183 String advice = getPolicyAdvice(ad) ;
186 if (advice != null) {
188 int index1 = advice.indexOf("=");
190 adv = adv.append(advice.substring(0 , index1 + 1));
191 int index2 = advice.indexOf(":");
193 orgName = advice.substring(index1 + 1 , index2);
194 adv = adv.append(advice.substring(index2 + 1));
195 advice = adv.toString();
201 debug.message("GatewayServlet: advice from getPolicyAdvice(): "
202 + advice);
[all...]
H A DPolicyDecisionUtils.java111 * the redirection URL (this is the redirection advice case).
112 * If the return List is empty, it means that there is no policy advice for
157 * Returns the matching policy advice. The method finds the advice
159 * realm/user/role/authlevel/service/module advice from the
187 // handle module/service/user/role/authlevel advice
188 // TBD : may want handle composite advice later??
212 // there is no advice for this specific realm, just pick anyone.
213 // That advice will be for a different realm
226 // find first advice whic
[all...]
/forgerock/openam-v13/openam-federation/OpenFM/src/test/java/com/sun/identity/entitlement/
H A DAndConditionEvalTest.java129 Map<String, Set<String>> advice = ent.getAdvices();
130 if ((advice != null) && !advice.isEmpty()) {
165 Set<String> advice = advices.get(IPv4Condition.class.getName());
166 if ((advice == null) || advice.isEmpty()) {
168 "AndConditionEvalTest.negativeTest: no advice for IPCondition.");
171 String adv = advice.iterator().next();
175 "AndConditionEvalTest.negativeTest: advice for IP Condition");
H A DStringAttributeConditionEvaluation.java147 Set<String> advice = advices.get(
149 if ((advice == null) || advices.isEmpty()) {
154 if (advice.size() != 1) {
159 String adv = advice.iterator().next();
163 "StringAttributeConditionEvaluation.negativeTest: incorrect advice.");
/forgerock/openam/openam-federation/OpenFM/src/test/java/com/sun/identity/entitlement/
H A DAndConditionEvalTest.java124 Map<String, Set<String>> advice = ent.getAdvices();
125 if ((advice != null) && !advice.isEmpty()) {
160 Set<String> advice = advices.get(IPv4Condition.class.getName());
161 if ((advice == null) || advice.isEmpty()) {
163 "AndConditionEvalTest.negativeTest: no advice for IPCondition.");
166 String adv = advice.iterator().next();
170 "AndConditionEvalTest.negativeTest: advice for IP Condition");
H A DStringAttributeConditionEvaluation.java146 Set<String> advice = advices.get(
148 if ((advice == null) || advices.isEmpty()) {
153 if (advice.size() != 1) {
158 String adv = advice.iterator().next();
162 "StringAttributeConditionEvaluation.negativeTest: incorrect advice.");
/forgerock/openam-v13/openam-entitlements/src/main/java/com/sun/identity/entitlement/
H A DStringAttributeCondition.java142 StringBuilder advice = new StringBuilder();
143 advice.append(attributeName).append("=");
145 advice.append(value);
148 advice.append("(").
153 set.add(advice.toString());
/forgerock/openam/openam-entitlements/src/main/java/com/sun/identity/entitlement/
H A DStringAttributeCondition.java142 StringBuilder advice = new StringBuilder();
143 advice.append(attributeName).append("=");
145 advice.append(value);
148 advice.append("(").
153 set.add(advice.toString());
/forgerock/openam-v13/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/assertion/impl/
H A DAssertionImpl.java76 private Advice advice; field in class:AssertionImpl
316 advice = factory.createAdvice((Element)child);
319 advice = null;
438 * Returns the advice of the assertion
440 * @return the advice of the assertion
444 return advice;
448 * Sets the advice of the assertion
450 * @param advice the advice of the assertion
454 public void setAdvice(Advice advice) throw argument
[all...]
/forgerock/openam/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/assertion/impl/
H A DAssertionImpl.java78 private Advice advice; field in class:AssertionImpl
318 advice = factory.createAdvice((Element)child);
321 advice = null;
440 * Returns the advice of the assertion
442 * @return the advice of the assertion
446 return advice;
450 * Sets the advice of the assertion
452 * @param advice the advice of the assertion
456 public void setAdvice(Advice advice) throw argument
[all...]
/forgerock/openam-v13/openam-core/src/main/java/org/forgerock/openam/core/
H A DCoreWrapper.java239 * Parses the policy condition advice and checks for realm advices.
241 * @param advice The policy advice XML.
242 * @return The realm defined in the policy advice, if defined, or {@code null}.
243 * @throws IllegalArgumentException if more than one realm is defined within the advice.
245 public String getRealmFromPolicyAdvice(String advice) { argument
246 return AuthClientUtils.getRealmFromPolicyAdvice(advice);
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/core/
H A DCoreWrapper.java241 * Parses the policy condition advice and checks for realm advices.
243 * @param advice The policy advice XML.
244 * @return The realm defined in the policy advice, if defined, or {@code null}.
245 * @throws IllegalArgumentException if more than one realm is defined within the advice.
247 public String getRealmFromPolicyAdvice(String advice) { argument
248 return AuthClientUtils.getRealmFromPolicyAdvice(advice);
/forgerock/openam-v13/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/assertion/
H A DAssertion.java100 * Returns the advice of the assertion
102 * @return the advice of the assertion
107 * Sets the advice of the assertion
109 * @param advice the advice of the assertion
112 void setAdvice(Advice advice) throws SAML2Exception; argument
/forgerock/openam/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/assertion/
H A DAssertion.java100 * Returns the advice of the assertion
102 * @return the advice of the assertion
107 * Sets the advice of the assertion
109 * @param advice the advice of the assertion
112 void setAdvice(Advice advice) throws SAML2Exception; argument
/forgerock/openam-v13/openam-entitlements/src/main/java/org/forgerock/openam/entitlement/conditions/environment/
H A DScriptCondition.java129 Map<String, List<String>> advice = new HashMap<>();
137 scriptVariables.put("advice", advice);
157 .setAdvice(transformMap(advice, LIST_TO_SET))

Completed in 49 milliseconds

123