/forgerock/openam-v13/openam-core/src/test/java/com/sun/identity/entitlement/ |
H A D | EntitlementCombinerTest.java | 87 Map<String, Boolean> actionNames = new HashMap<String, Boolean>(); 88 actionNames.put("GET", Boolean.TRUE); 89 actionNames.put("POST", Boolean.TRUE); 92 new Entitlement(APP_NAME, "http://test.web.com:80/hello/*", actionNames), 93 new Entitlement(APP_NAME, "http://test.web.com:80/hello/world/page.html", actionNames)); 103 assertThat(entitlement.getActionValues()).isEqualTo(actionNames); 122 Map<String, Boolean> actionNames = new HashMap<String, Boolean>(); 123 actionNames.put("GET", Boolean.TRUE); 124 actionNames.put("POST", Boolean.TRUE); 129 Entitlement eWithoutAdvice = new Entitlement(APP_NAME, "http://test.web.com:80/hello/*", actionNames); [all...] |
/forgerock/openam/openam-core/src/test/java/com/sun/identity/entitlement/ |
H A D | EntitlementCombinerTest.java | 87 Map<String, Boolean> actionNames = new HashMap<String, Boolean>(); 88 actionNames.put("GET", Boolean.TRUE); 89 actionNames.put("POST", Boolean.TRUE); 92 new Entitlement(APP_NAME, "http://test.web.com:80/hello/*", actionNames), 93 new Entitlement(APP_NAME, "http://test.web.com:80/hello/world/page.html", actionNames)); 103 assertThat(entitlement.getActionValues()).isEqualTo(actionNames); 122 Map<String, Boolean> actionNames = new HashMap<String, Boolean>(); 123 actionNames.put("GET", Boolean.TRUE); 124 actionNames.put("POST", Boolean.TRUE); 129 Entitlement eWithoutAdvice = new Entitlement(APP_NAME, "http://test.web.com:80/hello/*", actionNames); [all...] |
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/entitlement/ |
H A D | IPrivilege.java | 75 * @param actionNames Set of action names. 90 Set<String> actionNames, 84 evaluate(Subject adminSubject, String realm, Subject subject, String applicationName, String normalisedResourceName, String requestedResourceName, Set<String> actionNames, Map<String, Set<String>> environment, boolean recursive, Object context) argument
|
H A D | Entitlement.java | 104 * @param actionNames Set of action names. 106 public Entitlement(Set<String> resourceNames, Set<String> actionNames) { argument 108 setActionNames(actionNames); 115 * @param actionNames Set of action names. 117 public Entitlement(String resourceName, Set<String> actionNames) { argument 119 setActionNames(actionNames); 127 * @param actionNames Set of action names. 129 public Entitlement(String applicationName, String resourceName, Set<String> actionNames) { argument 132 setActionNames(actionNames); 304 * @param actionNames Se 306 setActionNames(Set<String> actionNames) argument 431 evaluate( Subject adminSubject, String realm, Subject subject, String applicationName, String resourceName, Set<String> actionNames, Map<String, Set<String>> environment, boolean recursive) argument [all...] |
H A D | PrivilegeEvaluator.java | 66 private Set<String> actionNames; field in class:PrivilegeEvaluator 134 this.actionNames = new HashSet<String>(); 136 this.actionNames.addAll(actions); 142 this.actionNames, recursive); 153 debug.message("[PolicyEval] actions: " + actionNames); 424 parent.actionNames, parent.envParameters,
|
/forgerock/openam/openam-core/src/main/java/com/sun/identity/entitlement/ |
H A D | IPrivilege.java | 75 * @param actionNames Set of action names. 90 Set<String> actionNames, 84 evaluate(Subject adminSubject, String realm, Subject subject, String applicationName, String normalisedResourceName, String requestedResourceName, Set<String> actionNames, Map<String, Set<String>> environment, boolean recursive, Object context) argument
|
H A D | Entitlement.java | 105 * @param actionNames Set of action names. 107 public Entitlement(Set<String> resourceNames, Set<String> actionNames) { argument 109 setActionNames(actionNames); 116 * @param actionNames Set of action names. 118 public Entitlement(String resourceName, Set<String> actionNames) { argument 120 setActionNames(actionNames); 128 * @param actionNames Set of action names. 130 public Entitlement(String applicationName, String resourceName, Set<String> actionNames) { argument 133 setActionNames(actionNames); 305 * @param actionNames Se 307 setActionNames(Set<String> actionNames) argument 432 evaluate( Subject adminSubject, String realm, Subject subject, String applicationName, String resourceName, Set<String> actionNames, Map<String, Set<String>> environment, boolean recursive) argument [all...] |
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/policy/ |
H A D | ProxyPolicyEvaluator.java | 107 * @param actionNames names of the actions the user is trying to perform on 119 Set actionNames, Map env) throws PolicyException, SSOException 122 resourceName, actionNames, env); 118 getPolicyDecisionIgnoreSubjects(String resourceName, Set actionNames, Map env) argument
|
H A D | ServiceType.java | 58 private Set actionNames; field in class:ServiceType 90 actionNames = Collections.unmodifiableSet(getActionNamesInternal()); 92 Iterator iter = actionNames.iterator(); 202 return actionNames; 322 Iterator actionNames = actionValues.keySet().iterator(); 323 while (actionNames.hasNext()) { 325 String actionName = (String) actionNames.next();
|
H A D | PolicyEvaluator.java | 165 private Set actionNames; //all action names valid for the serviceType field in class:PolicyEvaluator 542 HashSet actionNames = new HashSet(2); 543 actionNames.add(actionName); 545 actionNames, envParameters); 584 //Add request resourceName and request actionNames to the envParameters 593 Set actionNames = serviceType.getActionNames(); 594 if (actionNames != null) { 595 actions.addAll(actionNames); 714 * @param actionNames a <code>Set</code> of <code>Sting</code> objects 724 Set actionNames) throw 723 getPolicyDecision(SSOToken token, String resourceName, Set actionNames) argument 747 getPolicyDecision( SSOToken token, String resourceName, Set actionNames, Map envParameters) argument 811 getPolicyDecision( SSOToken token, String resourceName, Set actionNames, Map envParameters, Set visitedOrgs) argument 852 getPolicyDecisionE( SSOToken token, String resourceName, Set actionNames, Map envParameters) argument 887 getPolicyDecisionO( SSOToken token, String resourceName, Set actionNames, Map envParameters, Set visitedOrgs) argument 2411 getPolicyDecisionIgnoreSubjects(String resourceName, Set actionNames, Map env) argument [all...] |
H A D | Policy.java | 1528 * @param actionNames a set of action names for which policy results 1541 String resourceTypeName,String resourceName, Set actionNames, 1570 resourceTypeName, resourceName, actionNames, 1587 .append(actionNames) .append(", ") 1597 actionNames, envParameters, policyDecision); 1604 actionNames, envParameters, policyDecision); 1611 actionNames, envParameters, policyDecision); 1618 actionNames, envParameters, policyDecision); 1625 actionNames, envParameters, policyDecision); 1632 actionNames, envParameter 1540 getPolicyDecision(SSOToken token, String resourceTypeName,String resourceName, Set actionNames, Map envParameters) argument 1691 getMatchedRuleResults(ServiceType resourceType, String resourceName, Set actionNames) argument 1919 getPolicyDecisionSCR(SSOToken token, ServiceType resourceType, String resourceName, Set actionNames, Map envParameters, PolicyDecision policyDecision) argument 2027 getPolicyDecisionSRC(SSOToken token, ServiceType resourceType, String resourceName, Set actionNames, Map envParameters, PolicyDecision policyDecision) argument 2131 getPolicyDecisionCSR(SSOToken token, ServiceType resourceType, String resourceName, Set actionNames, Map envParameters, PolicyDecision policyDecision) argument 2240 getPolicyDecisionCRS(SSOToken token, ServiceType resourceType, String resourceName, Set actionNames, Map envParameters, PolicyDecision policyDecision) argument 2350 getPolicyDecisionRSC(SSOToken token, ServiceType resourceType, String resourceName, Set actionNames, Map envParameters, PolicyDecision policyDecision) argument 2449 getPolicyDecisionRCS(SSOToken token, ServiceType resourceType, String resourceName, Set actionNames, Map envParameters, PolicyDecision policyDecision) argument [all...] |
H A D | PolicyDecision.java | 248 Iterator actionNames = actionDecisions.keySet().iterator(); 249 while ( actionNames.hasNext() ) { 250 String actionName = (String) actionNames.next(); 284 Iterator actionNames = actionDecisions.keySet().iterator(); 285 while ( actionNames.hasNext() ) { 286 String actionName = (String) actionNames.next();
|
/forgerock/openam/openam-core/src/main/java/com/sun/identity/policy/ |
H A D | ProxyPolicyEvaluator.java | 107 * @param actionNames names of the actions the user is trying to perform on 119 Set actionNames, Map env) throws PolicyException, SSOException 122 resourceName, actionNames, env); 118 getPolicyDecisionIgnoreSubjects(String resourceName, Set actionNames, Map env) argument
|
H A D | ServiceType.java | 58 private Set actionNames; field in class:ServiceType 90 actionNames = Collections.unmodifiableSet(getActionNamesInternal()); 92 Iterator iter = actionNames.iterator(); 202 return actionNames; 322 Iterator actionNames = actionValues.keySet().iterator(); 323 while (actionNames.hasNext()) { 325 String actionName = (String) actionNames.next();
|
H A D | PolicyEvaluator.java | 167 private Set actionNames; //all action names valid for the serviceType field in class:PolicyEvaluator 552 //Add request resourceName and request actionNames to the envParameters 561 Set actionNames = serviceType.getActionNames(); 562 if (actionNames != null) { 563 actions.addAll(actionNames); 644 * @param actionNames a <code>Set</code> of <code>Sting</code> objects 654 Set actionNames) throws PolicyException, SSOException { 655 return getPolicyDecision(token, resourceName, actionNames, null); 666 * @param actionNames <code>Set</code> of names(<code>String</code>) of 678 SSOToken token, String resourceName, Set actionNames, 653 getPolicyDecision(SSOToken token, String resourceName, Set actionNames) argument 677 getPolicyDecision( SSOToken token, String resourceName, Set actionNames, Map envParameters) argument 741 getPolicyDecision( SSOToken token, String resourceName, Set actionNames, Map envParameters, Set visitedOrgs) argument 791 getPolicyDecisionO( SSOToken token, String resourceName, Set actionNames, Map envParameters, Set visitedOrgs) argument 2289 getPolicyDecisionIgnoreSubjects(String resourceName, Set actionNames, Map env) argument [all...] |
H A D | Policy.java | 1528 * @param actionNames a set of action names for which policy results 1541 String resourceTypeName,String resourceName, Set actionNames, 1570 resourceTypeName, resourceName, actionNames, 1587 .append(actionNames) .append(", ") 1597 actionNames, envParameters, policyDecision); 1604 actionNames, envParameters, policyDecision); 1611 actionNames, envParameters, policyDecision); 1618 actionNames, envParameters, policyDecision); 1625 actionNames, envParameters, policyDecision); 1632 actionNames, envParameter 1540 getPolicyDecision(SSOToken token, String resourceTypeName,String resourceName, Set actionNames, Map envParameters) argument 1691 getMatchedRuleResults(ServiceType resourceType, String resourceName, Set actionNames) argument 1919 getPolicyDecisionSCR(SSOToken token, ServiceType resourceType, String resourceName, Set actionNames, Map envParameters, PolicyDecision policyDecision) argument 2027 getPolicyDecisionSRC(SSOToken token, ServiceType resourceType, String resourceName, Set actionNames, Map envParameters, PolicyDecision policyDecision) argument 2131 getPolicyDecisionCSR(SSOToken token, ServiceType resourceType, String resourceName, Set actionNames, Map envParameters, PolicyDecision policyDecision) argument 2240 getPolicyDecisionCRS(SSOToken token, ServiceType resourceType, String resourceName, Set actionNames, Map envParameters, PolicyDecision policyDecision) argument 2350 getPolicyDecisionRSC(SSOToken token, ServiceType resourceType, String resourceName, Set actionNames, Map envParameters, PolicyDecision policyDecision) argument 2449 getPolicyDecisionRCS(SSOToken token, ServiceType resourceType, String resourceName, Set actionNames, Map envParameters, PolicyDecision policyDecision) argument [all...] |
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/policy/client/ |
H A D | PolicyEvaluator.java | 287 Set actionNames = new HashSet(1); 288 actionNames.add(actionName); 290 actionNames, envParameters); 344 * @param actionNames Set of action names the user is trying to perform on 354 Set actionNames) 356 return getPolicyDecision(token, resourceName, actionNames, null); 366 * @param actionNames Set of action names the user is trying to perform on 378 Set actionNames, 389 + ":actionName=" + actionNames + ":entering"); 401 actionNames, envParameter 352 getPolicyDecision(SSOToken token, String resourceName, Set actionNames) argument 376 getPolicyDecision(SSOToken token, String resourceName, Set actionNames, Map envParameters) argument [all...] |
H A D | ResourceResultCache.java | 235 * @param actionNames action names for which to get policy decision 246 SSOToken token, String resourceName, Set actionNames, 253 token, resourceName, actionNames, 267 token, resourceName, actionNames, 284 if (actionNames != null) { 286 Iterator nameIter = actionNames.iterator(); 316 * @param actionNames action names for which to get policy decision 330 Set actionNames, Map env, boolean useCache) 348 token, rootResourceName, actionNames, env, cacheMode, useCache); 359 + ":actionNames 245 getPolicyDecision(SSOToken appToken, String serviceName, SSOToken token, String resourceName, Set actionNames, Map env, int retryCount) argument 328 getPolicyDecision(SSOToken appToken, String serviceName, SSOToken token, String resourceName, Set actionNames, Map env, boolean useCache) argument 385 getResourceResults(SSOToken appToken, String serviceName, SSOToken token, String resourceName, Set actionNames, Map env, String scope) argument 417 getResourceResults(SSOToken appToken, String serviceName, SSOToken token, String resourceName, Set actionNames, Map env, String scope, boolean useCache) argument 606 getRESTResultsFromServer(SSOToken appToken, String serviceName, SSOToken token, String resourceName, String scope, Set actionNames, Map env) argument 672 getResultsFromServer(SSOToken appToken, String serviceName, SSOToken token, String resourceName, String scope, Set actionNames, Map env) argument 2318 buildEntitlementRequestQueryString( String realm, String serviceName, SSOToken userToken, String resource, Set actionNames, Map envMap) argument [all...] |
/forgerock/openam/openam-core/src/main/java/com/sun/identity/policy/client/ |
H A D | PolicyEvaluator.java | 287 Set actionNames = new HashSet(1); 288 actionNames.add(actionName); 290 actionNames, envParameters); 344 * @param actionNames Set of action names the user is trying to perform on 354 Set actionNames) 356 return getPolicyDecision(token, resourceName, actionNames, null); 366 * @param actionNames Set of action names the user is trying to perform on 378 Set actionNames, 389 + ":actionName=" + actionNames + ":entering"); 401 actionNames, envParameter 352 getPolicyDecision(SSOToken token, String resourceName, Set actionNames) argument 376 getPolicyDecision(SSOToken token, String resourceName, Set actionNames, Map envParameters) argument [all...] |
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/entitlement/opensso/ |
H A D | OpenSSOPrivilege.java | 91 final Set<String> actionNames, 106 normalisedResourceName, actionNames, environment, recursive); 127 String resourceName, Set<String> actionNames, Map<String, Set<String>> environment, 161 adminSubject, realm, subject, applicationName, resourceName, actionNames, environment, recursive); 84 evaluate( final Subject adminSubject, final String realm, final Subject subject, final String applicationName, final String normalisedResourceName, final String requestedResourceName, final Set<String> actionNames, final Map<String, Set<String>> environment, final boolean recursive, final Object context ) argument 125 internalEvaluate( Subject adminSubject, String realm, Subject subject, String applicationName, String resourceName, Set<String> actionNames, Map<String, Set<String>> environment, boolean recursive) argument
|
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/policy/interfaces/ |
H A D | Referral.java | 142 * @param actionNames a set of action names 152 String resourceName, Set actionNames, Map envParameters 151 getPolicyDecision(SSOToken token, String resourceType, String resourceName, Set actionNames, Map envParameters ) argument
|
/forgerock/openam-v13/openam-entitlements/src/test/java/org/forgerock/openam/entitlement/rest/ |
H A D | StubPrivilege.java | 49 Set<String> actionNames, Map<String, Set<String>> environment, boolean recursive, 47 evaluate(Subject adminSubject, String realm, Subject subject, String applicationName, String normalisedResourceName, String requestedResourceName, Set<String> actionNames, Map<String, Set<String>> environment, boolean recursive, Object context) argument
|
/forgerock/openam/openam-core/src/main/java/com/sun/identity/entitlement/opensso/ |
H A D | OpenSSOPrivilege.java | 92 final Set<String> actionNames, 107 normalisedResourceName, actionNames, environment, recursive); 128 String resourceName, Set<String> actionNames, Map<String, Set<String>> environment, 162 adminSubject, realm, subject, applicationName, resourceName, actionNames, environment, recursive); 85 evaluate( final Subject adminSubject, final String realm, final Subject subject, final String applicationName, final String normalisedResourceName, final String requestedResourceName, final Set<String> actionNames, final Map<String, Set<String>> environment, final boolean recursive, final Object context ) argument 126 internalEvaluate( Subject adminSubject, String realm, Subject subject, String applicationName, String resourceName, Set<String> actionNames, Map<String, Set<String>> environment, boolean recursive) argument
|
/forgerock/openam/openam-core/src/main/java/com/sun/identity/policy/interfaces/ |
H A D | Referral.java | 142 * @param actionNames a set of action names 152 String resourceName, Set actionNames, Map envParameters 151 getPolicyDecision(SSOToken token, String resourceType, String resourceName, Set actionNames, Map envParameters ) argument
|
/forgerock/openam/openam-entitlements/src/test/java/org/forgerock/openam/entitlement/rest/ |
H A D | StubPrivilege.java | 49 Set<String> actionNames, Map<String, Set<String>> environment, boolean recursive, 47 evaluate(Subject adminSubject, String realm, Subject subject, String applicationName, String normalisedResourceName, String requestedResourceName, Set<String> actionNames, Map<String, Set<String>> environment, boolean recursive, Object context) argument
|