Searched defs:scopes (Results 26 - 38 of 38) sorted by relevance

12

/forgerock/openam-v13/openam-uma/src/test/java/org/forgerock/openam/uma/
H A DPendingRequestsServiceTest.java205 assertThat(policy).hasArray("permissions/0/scopes").containsOnly(SCOPE);
219 JsonValue content = json(object(field("scopes", array("SCOPE_A", "SCOPE_B"))));
231 assertThat(policy).hasArray("permissions/0/scopes").containsOnly("SCOPE_A", "SCOPE_B");
258 assertThat(policy).hasArray("permissions/0/scopes").containsOnly("SCOPE_A");
260 assertThat(policy).hasArray("permissions/1/scopes").containsOnly(SCOPE);
307 String realm, String requestingPartyId, Set<String> scopes) throws NotFoundException, ServerException {
309 realm, requestingPartyId, scopes);
335 private UmaPolicy existingUmaPolicy(String grantedSubject, String... scopes) throws Exception { argument
341 field(SCOPES_KEY, array(scopes))
306 createPendingRequest(String id, String resourceSetId, String resourceSetName, String resourceOwnerId, String realm, String requestingPartyId, Set<String> scopes) argument
H A DAuthorizationRequestEndpointTest.java542 private UmaPendingRequest createPendingRequest(String... scopes) { argument
544 given(pendingRequest.getScopes()).willReturn(new HashSet<>(Arrays.asList(scopes)));
/forgerock/openam-v13/openam-uma/src/test/java/org/forgerock/openam/uma/rest/
H A DUmaPolicyServiceImplDelegationTest.java343 json(object(field("name", "RESOURCE_SET_NAME"), field("scopes", array("SCOPE_A", "SCOPE_B")))).asMap());
351 private void createPolicyFor(String requestingParty, String resourceSetId, String... scopes) argument
354 for (String scope : scopes) {
379 umaPolicy.remove(new JsonPointer("/permissions/0/scopes/1"));
/forgerock/openam/openam-oauth2/src/main/java/org/forgerock/openam/oauth2/
H A DOpenAMScopeValidator.java178 Set<String> scopes;
181 scopes = defaultScopes;
183 scopes = new HashSet<String>(allowedScopes);
184 scopes.retainAll(requestedScopes);
185 if (requestedScopes.size() > scopes.size()) {
192 if (scopes == null || scopes.isEmpty()) {
196 return scopes;
208 Set<String> scopes;
217 scopes
278 getScriptFriendlyScopes(Set<String> scopes) argument
[all...]
/forgerock/openam/openam-uma/src/main/java/org/forgerock/openam/uma/
H A DAuthorizationRequestEndpoint.java251 String realm, String requestingUserId, Set<String> scopes)
257 if (pendingRequest.getScopes().containsAll(scopes)) {
250 verifyPendingRequestDoesNotAlreadyExist(String resourceSetId, String resourceOwnerId, String realm, String requestingUserId, Set<String> scopes) argument
/forgerock/openam/openam-uma/src/main/java/org/forgerock/openam/uma/rest/
H A DPolicyGraph.java131 * either active or inactive based on entitlements) will be iterated over, moving scopes
185 * Moves the scopes that are incorrectly active/inactive to a policy that has the opposite state.
189 * @param policyResourceDelegate To be used for deleting any policies that are emptied of scopes (actions).
190 * @param allMovingRights All the scopes that need switching state.
235 // No scopes left in the policy, so it can be removed.
276 Set<String> scopes) {
280 Set<String> receivedScopes = new HashSet<>(scopes);
361 Set<String> scopes = UmaPolicyUtils.getPolicyScopes(policy);
371 edge.actions.addAll(scopes);
383 for (String scope : scopes) {
275 findRights0(Map<String, Set<String>> rights, Set<String> visited, PolicyEdge edge, Set<String> scopes) argument
[all...]
/forgerock/openam/openam-uma/src/test/java/org/forgerock/openam/uma/
H A DPendingClientSdkSessionRequestsServiceTest.java205 assertThat(policy).hasArray("permissions/0/scopes").containsOnly(SCOPE);
219 JsonValue content = json(object(field("scopes", array("SCOPE_A", "SCOPE_B"))));
231 assertThat(policy).hasArray("permissions/0/scopes").containsOnly("SCOPE_A", "SCOPE_B");
258 assertThat(policy).hasArray("permissions/0/scopes").containsOnly("SCOPE_A");
260 assertThat(policy).hasArray("permissions/1/scopes").containsOnly(SCOPE);
307 String realm, String requestingPartyId, Set<String> scopes) throws NotFoundException, ServerException {
309 realm, requestingPartyId, scopes);
335 private UmaPolicy existingUmaPolicy(String grantedSubject, String... scopes) throws Exception { argument
341 field(SCOPES_KEY, array(scopes))
306 createPendingRequest(String id, String resourceSetId, String resourceSetName, String resourceOwnerId, String realm, String requestingPartyId, Set<String> scopes) argument
H A DAuthorizationRequestEndpointTest.java536 private UmaPendingRequest createPendingRequest(String... scopes) { argument
538 given(pendingRequest.getScopes()).willReturn(new HashSet<>(Arrays.asList(scopes)));
/forgerock/openam/openam-uma/src/test/java/org/forgerock/openam/uma/rest/
H A DUmaPolicyServiceImplDelegationTest.java350 json(object(field("name", "RESOURCE_SET_NAME"), field("scopes", array("SCOPE_A", "SCOPE_B")))).asMap());
358 private void createPolicyFor(String requestingParty, String resourceSetId, String... scopes) argument
361 for (String scope : scopes) {
386 umaPolicy.remove(new JsonPointer("/permissions/0/scopes/1"));
/forgerock/opendj-b2.6/resource/dsml/lib/
H A Djaxb-impl.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/sun/ com/sun/xml/ com/sun/xml/bind/ ...
H A Djaxb1-impl.jarMETA-INF/ META-INF/MANIFEST.MF COPYING.txt META-INF/services/ META-INF/ ...
/forgerock/opendj2-jel-hg/resource/dsml/lib/
H A Djaxb-impl.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/sun/ com/sun/xml/ com/sun/xml/bind/ ...
H A Djaxb1-impl.jarMETA-INF/ META-INF/MANIFEST.MF COPYING.txt META-INF/services/ META-INF/ ...

Completed in 56 milliseconds

12