Searched defs:resourceSetId (Results 1 - 25 of 44) sorted by relevance

12

/forgerock/openam-v13/openam-uma/src/main/java/org/forgerock/openam/uma/
H A DPermission.java22 private String resourceSetId; field in class:Permission
26 public Permission(String resourceSetId, Set<String> scopes) { argument
27 this.resourceSetId = resourceSetId;
34 return resourceSetId;
37 public void setResourceSetId(String resourceSetId) { argument
38 this.resourceSetId = resourceSetId;
H A DUmaPolicyService.java49 * @param resourceSetId The unique ID of the UMA policy.
52 Promise<UmaPolicy, ResourceException> readPolicy(Context context, String resourceSetId); argument
58 * @param resourceSetId The unique ID of the UMA policy.
62 Promise<UmaPolicy, ResourceException> updatePolicy(Context context, String resourceSetId, JsonValue policy); argument
68 * @param resourceSetId The unique ID of the UMA policy.
71 Promise<Void, ResourceException> deletePolicy(Context context, String resourceSetId); argument
H A DUmaTokenStore.java77 PermissionTicket createPermissionTicket(String resourceSetId, Set<String> scopes, String clientId) argument
80 PermissionTicket permissionTicket = new PermissionTicket(null, resourceSetId, scopes, clientId);
H A DPendingRequestsService.java103 * @param resourceSetId The resource set id.
112 public void createPendingRequest(HttpServletRequest httpRequest, String resourceSetId, String resourceSetName, argument
116 UmaPendingRequest pendingRequest = new UmaPendingRequest(resourceSetId, resourceSetName, resourceOwnerId, realm,
171 * Queries pending requests for the specified {@literal resourceSetId},
174 * @param resourceSetId The resource set id.
181 public Set<UmaPendingRequest> queryPendingRequests(String resourceSetId, String resourceOwnerId, String realm, argument
185 QueryFilter.equalTo(RESOURCE_SET_ID_FIELD, resourceSetId),
303 private JsonValue createPolicyJson(String resourceSetId, String requestingPartyId, Collection<String> scopes) { argument
305 field(POLICY_ID_KEY, resourceSetId),
H A DPermissionRequestEndpoint.java97 String resourceSetId = getResourceSetId(permissionRequest);
102 ResourceSetDescription resourceSetDescription = getResourceSet(resourceSetId, resourceOwnerId,
109 .createPermissionTicket(resourceSetId, scopes, clientId).getId();
119 JsonValue resourceSetId = permissionRequest.get("resource_set_id");
121 resourceSetId.required();
126 if (!resourceSetId.isString()) {
130 return resourceSetId.asString();
162 private ResourceSetDescription getResourceSet(String resourceSetId, String resourceOwnerId, OAuth2ProviderSettings providerSettings) throws UmaException { argument
165 return store.read(resourceSetId, resourceOwnerId);
167 throw new UmaException(400, "invalid_resource_set_id", "Could not find Resource Set, " + resourceSetId);
[all...]
H A DPermissionTicket.java46 private String resourceSetId; field in class:PermissionTicket
57 public PermissionTicket(String id, String resourceSetId, Set<String> scopes, String resourceServerClientId) { argument
59 this.resourceSetId = resourceSetId;
89 return resourceSetId;
92 public void setResourceSetId(String resourceSetId) { argument
93 this.resourceSetId = resourceSetId;
/forgerock/openam/openam-uma/src/main/java/org/forgerock/openam/uma/
H A DPermission.java22 private String resourceSetId; field in class:Permission
26 public Permission(String resourceSetId, Set<String> scopes) { argument
27 this.resourceSetId = resourceSetId;
34 return resourceSetId;
37 public void setResourceSetId(String resourceSetId) { argument
38 this.resourceSetId = resourceSetId;
H A DUmaPolicyService.java49 * @param resourceSetId The unique ID of the UMA policy.
52 Promise<UmaPolicy, ResourceException> readPolicy(Context context, String resourceSetId); argument
58 * @param resourceSetId The unique ID of the UMA policy.
62 Promise<UmaPolicy, ResourceException> updatePolicy(Context context, String resourceSetId, JsonValue policy); argument
68 * @param resourceSetId The unique ID of the UMA policy.
71 Promise<Void, ResourceException> deletePolicy(Context context, String resourceSetId); argument
H A DUmaTokenStore.java76 PermissionTicket createPermissionTicket(String resourceSetId, Set<String> scopes, String clientId) argument
79 PermissionTicket permissionTicket = new PermissionTicket(null, resourceSetId, scopes, clientId);
/forgerock/openam-v13/openam-oauth2-common/oauth2-core/src/main/java/org/forgerock/oauth2/core/
H A DOAuth2Uris.java101 String getResourceSetRegistrationPolicyEndpoint(String resourceSetId); argument
/forgerock/openam-v13/openam-oauth2-common/oauth2-core/src/main/java/org/forgerock/oauth2/resources/
H A DResourceSetStore.java49 * @param resourceSetId The resource set ID.
55 ResourceSetDescription read(String resourceSetId, ResourceSetFilter filter) argument
62 * @param resourceSetId The resource set ID.
68 ResourceSetDescription read(String resourceSetId, String resourceOwnerId) throws NotFoundException, ServerException; argument
82 * @param resourceSetId The identifier of the {@code ResourceSetDescription} being removed.
86 void delete(String resourceSetId, String resourceOwnerId) throws NotFoundException, ServerException; argument
/forgerock/openam/openam-oauth2/src/main/java/org/forgerock/oauth2/core/
H A DOAuth2Uris.java101 String getResourceSetRegistrationPolicyEndpoint(String resourceSetId); argument
/forgerock/openam/openam-oauth2/src/main/java/org/forgerock/oauth2/resources/
H A DResourceSetStore.java50 * @param resourceSetId The resource set ID.
56 ResourceSetDescription read(String resourceSetId, ResourceSetFilter filter) argument
63 * @param resourceSetId The resource set ID.
69 ResourceSetDescription read(String resourceSetId, String resourceOwnerId) throws NotFoundException, ServerException; argument
83 * @param resourceSetId The identifier of the {@code ResourceSetDescription} being removed.
87 void delete(String resourceSetId, String resourceOwnerId) throws NotFoundException, ServerException; argument
/forgerock/openam/openam-oauth2/src/main/java/org/forgerock/openam/oauth2/resources/
H A DOpenAMResourceSetStore.java81 public ResourceSetDescription read(String resourceSetId, ResourceSetFilter filter) throws NotFoundException, argument
84 query(QueryFilter.equalTo(ResourceSetTokenField.RESOURCE_SET_ID, resourceSetId));
93 throw new NotFoundException("Resource set does not exist with id " + resourceSetId);
97 public ResourceSetDescription read(String resourceSetId, String resourceOwnerId) throws NotFoundException, ServerException { argument
98 return read(resourceSetId, new ResourceSetOwnerFilter(resourceOwnerId));
118 public void delete(String resourceSetId, String resourceOwnerId) throws NotFoundException, ServerException { argument
120 ResourceSetDescription token = read(resourceSetId, resourceOwnerId);
/forgerock/openam-v13/openam-oauth2/src/main/java/org/forgerock/openam/oauth2/resources/
H A DOpenAMResourceSetStore.java91 public ResourceSetDescription read(String resourceSetId, ResourceSetFilter filter) throws NotFoundException, argument
94 query(QueryFilter.equalTo(ResourceSetTokenField.RESOURCE_SET_ID, resourceSetId));
103 throw new NotFoundException("Resource set does not exist with id " + resourceSetId);
107 public ResourceSetDescription read(String resourceSetId, String resourceOwnerId) throws NotFoundException, ServerException { argument
108 return read(resourceSetId, new ResourceSetOwnerFilter(resourceOwnerId));
128 public void delete(String resourceSetId, String resourceOwnerId) throws NotFoundException, ServerException { argument
130 ResourceSetDescription token = read(resourceSetId, resourceOwnerId);
H A DResourceSetRegistrationEndpoint.java185 final String resourceSetId = getResourceSetId();
188 ResourceSetDescription resourceSetDescription = store.read(resourceSetId, getResourceOwnerId())
214 String resourceSetId = getResourceSetId();
215 if (resourceSetId == null || resourceSetId.isEmpty()) {
218 return readResourceSet(resourceSetId);
222 private Representation readResourceSet(String resourceSetId) throws NotFoundException, ServerException { argument
224 ResourceSetDescription resourceSetDescription = store.read(resourceSetId, getResourceOwnerId());
/forgerock/openam-v13/openam-oauth2/src/main/java/org/forgerock/openam/oauth2/resources/labels/
H A DResourceSetLabel.java61 public void addResourceSetId(String resourceSetId) { argument
62 resourceSetIds.add(resourceSetId);
65 public void removeResourceSetId(String resourceSetId) { argument
66 resourceSetIds.remove(resourceSetId);
H A DUmaLabelsStore.java160 for (ByteString resourceSetId : resourceSetAttribute) {
161 resourceSets.add(resourceSetId.toString());
232 * @param resourceSetId The resource set ID.
236 public Set<ResourceSetLabel> forResourceSet(String realm, String username, String resourceSetId, boolean includeResourceSets) argument
238 return query(realm, username, and(equality("objectClass", OBJECT_CLASS), equality(RESOURCE_SET_ATTR, resourceSetId)), includeResourceSets);
/forgerock/openam-v13/openam-uma/src/main/java/org/forgerock/openam/uma/audit/
H A DUmaAuditLogger.java65 public void log(String resourceSetId, AMIdentity resourceOwner, UmaAuditType message, Request request, argument
68 log(resourceSetId, getResourceName(resourceSetId, request), resourceOwner, message, requestingPartyId);
78 public void log(String resourceSetId, String resourceSetName, AMIdentity resourceOwner, UmaAuditType message, argument
82 umaAuditEntry = new UmaAuditEntry(resourceSetId, resourceSetName, resourceOwner.getUniversalId(),
104 public String getResourceName(String resourceSetId, Request request) throws NotFoundException, UmaException, argument
107 ResourceSetDescription resourceSetDescription = getResourceSet(resourceSetId, providerSettings);
111 private ResourceSetDescription getResourceSet(String resourceSetId, OAuth2ProviderSettings providerSettings) argument
116 QueryFilter.equalTo(ResourceSetTokenField.RESOURCE_SET_ID, resourceSetId));
118 throw new UmaException(400, "invalid_resource_set_id", "Could not find Resource Set, " + resourceSetId);
[all...]
/forgerock/openam/openam-oauth2/src/main/java/org/forgerock/openam/oauth2/resources/labels/
H A DResourceSetLabel.java75 public void addResourceSetId(String resourceSetId) { argument
76 resourceSetIds.add(resourceSetId);
79 public void removeResourceSetId(String resourceSetId) { argument
80 resourceSetIds.remove(resourceSetId);
/forgerock/openam/openam-uma/src/main/java/org/forgerock/openam/uma/audit/
H A DUmaAuditLogger.java66 public void log(String resourceSetId, AMIdentity resourceOwner, UmaAuditType message, Request request, argument
69 log(resourceSetId, getResourceName(resourceSetId, request), resourceOwner, message, requestingPartyId);
79 public void log(String resourceSetId, String resourceSetName, AMIdentity resourceOwner, UmaAuditType message, argument
83 umaAuditEntry = new UmaAuditEntry(resourceSetId, resourceSetName, resourceOwner.getUniversalId(),
105 public String getResourceName(String resourceSetId, Request request) throws NotFoundException, UmaException, argument
108 ResourceSetDescription resourceSetDescription = getResourceSet(resourceSetId, providerSettings);
112 private ResourceSetDescription getResourceSet(String resourceSetId, OAuth2ProviderSettings providerSettings) argument
117 QueryFilter.equalTo(ResourceSetTokenField.RESOURCE_SET_ID, resourceSetId));
119 throw new UmaException(400, "invalid_resource_set_id", "Could not find Resource Set, " + resourceSetId);
[all...]
/forgerock/openam-v13/openam-core/src/main/java/org/forgerock/openam/sm/datalayer/impl/uma/
H A DUmaAuditEntry.java36 private String resourceSetId; field in class:UmaAuditEntry
51 public UmaAuditEntry(String resourceSetId, String resourceSetName, String resourceOwnerId, String type, argument
53 this.resourceSetId = resourceSetId;
70 return resourceSetId;
73 public void setResourceSetId(String resourceSetId) { argument
74 this.resourceSetId = resourceSetId;
119 field("resourceSetId", resourceSetId),
[all...]
H A DUmaPendingRequest.java39 public static final String RESOURCE_SET_ID_FIELD = "resourceSetId";
48 private String resourceSetId; field in class:UmaPendingRequest
65 public UmaPendingRequest(String resourceSetId, String resourceSetName, String resourceOwnerId, String realm, argument
67 this.resourceSetId = resourceSetId;
86 return resourceSetId;
89 public void setResourceSetId(String resourceSetId) { argument
90 this.resourceSetId = resourceSetId;
/forgerock/openam-v13/openam-oauth2/src/main/java/org/forgerock/openam/oauth2/
H A DOpenAMOAuth2UrisFactory.java166 public String getResourceSetRegistrationPolicyEndpoint(String resourceSetId) { argument
167 return deploymentUrl + "/XUI/?realm=" + absoluteRealm + "#uma/share/" + resourceSetId;
/forgerock/openam-v13/openam-uma/src/main/java/org/forgerock/openam/uma/rest/
H A DResourceSetService.java103 * @param resourceSetId The resource set Id.
109 String realm, final String resourceSetId, String resourceOwnerId, final boolean augmentWithPolicy) {
110 return getResourceSet(realm, resourceSetId, resourceOwnerId)
115 augmentWithPolicy(context, resourceSetId, resourceSet);
328 private Promise<ResourceSetDescription, ResourceException> getResourceSet(String realm, String resourceSetId, argument
332 .read(resourceSetId, new ResourceSetSharedFilter(this, resourceOwnerId, realm));
335 return new org.forgerock.json.resource.NotFoundException("No resource set with id, " + resourceSetId
343 final String resourceSetId, final ResourceSetDescription resourceSet) {
344 return policyService.readPolicy(context, resourceSetId)
108 getResourceSet(final Context context, String realm, final String resourceSetId, String resourceOwnerId, final boolean augmentWithPolicy) argument
342 augmentWithPolicy(Context context, final String resourceSetId, final ResourceSetDescription resourceSet) argument

Completed in 308 milliseconds

12