Searched refs:getResourceOwnerId (Results 1 - 25 of 72) sorted by relevance

123

/forgerock/openam-v13/openam-oauth2-common/oauth2-core/src/main/java/org/forgerock/oauth2/core/
H A DIntrospectableToken.java36 String getResourceOwnerId(); method in interface:IntrospectableToken
H A DOAuth2TokenIntrospectionHandler.java74 field(USER_ID, token.getResourceOwnerId()),
78 field(OAuth2Constants.JWTTokenParams.SUB, token.getResourceOwnerId()),
H A DAccessTokenServiceImpl.java147 refreshToken.getResourceOwnerId(), refreshToken.getRedirectUri(), refreshToken.getScope(), request,
154 refreshToken.getResourceOwnerId(), clientRegistration.getClientId(), refreshToken.getRedirectUri(),
/forgerock/openam/openam-oauth2/src/main/java/org/forgerock/oauth2/core/
H A DIntrospectableToken.java61 String getResourceOwnerId(); method in interface:IntrospectableToken
H A DOAuth2TokenIntrospectionHandler.java87 field(USER_ID, token.getResourceOwnerId()),
91 field(OAuth2Constants.JWTTokenParams.SUB, token.getResourceOwnerId()),
H A DAccessTokenService.java187 refreshToken.getResourceOwnerId(), refreshToken.getRedirectUri(), refreshToken.getScope(), request,
194 refreshToken.getResourceOwnerId(), clientRegistration.getClientId(), refreshToken.getRedirectUri(),
H A DAuthorizationCodeGrantTypeHandler.java116 String userName = authorizationCode.getResourceOwnerId();
146 final String resourceOwnerId = authorizationCode.getResourceOwnerId();
/forgerock/openam-v13/openam-oauth2/src/main/java/org/forgerock/openam/oauth2/resources/
H A DResourceSetLabelRegistration.java83 resourceSet.getResourceOwnerId(), resourceSet.getId(), true);
119 resourceSet.getResourceOwnerId(), labelId);
125 labelsStore.update(resourceSet.getRealm(), resourceSet.getResourceOwnerId(), resourceSetLabel);
127 if (!labelsStore.isLabelInUse(resourceSet.getRealm(), resourceSet.getResourceOwnerId(),
129 labelsStore.delete(resourceSet.getRealm(), resourceSet.getResourceOwnerId(),
135 labelsStore.create(resourceSet.getRealm(), resourceSet.getResourceOwnerId(),
H A DResourceSetOwnerFilter.java46 if(userId.equals(resourceSetDescription.getResourceOwnerId())) {
H A DResourceSetRegistrationEndpoint.java135 getResourceOwnerId(), validator.validate(toMap(entity)));
142 QueryFilter.equalTo(ResourceSetTokenField.RESOURCE_OWNER_ID, getResourceOwnerId()));
188 ResourceSetDescription resourceSetDescription = store.read(resourceSetId, getResourceOwnerId())
224 ResourceSetDescription resourceSetDescription = store.read(resourceSetId, getResourceOwnerId());
229 resourceSetDescription.getResourceOwnerId(), resourceSetDescription.getId(), false);
244 QueryFilter.equalTo(ResourceSetTokenField.RESOURCE_OWNER_ID, getResourceOwnerId()));
275 ResourceSetDescription resourceSetDescription = store.read(getResourceSetId(), getResourceOwnerId());
282 store.delete(getResourceSetId(), getResourceOwnerId());
304 private String getResourceOwnerId() { method in class:ResourceSetRegistrationEndpoint
305 return requestFactory.create(getRequest()).getToken(AccessToken.class).getResourceOwnerId();
[all...]
/forgerock/openam/openam-oauth2/src/main/java/org/forgerock/openam/oauth2/resources/
H A DResourceSetLabelRegistration.java83 resourceSet.getResourceOwnerId(), resourceSet.getId(), true);
119 resourceSet.getResourceOwnerId(), labelId);
125 labelsStore.update(resourceSet.getRealm(), resourceSet.getResourceOwnerId(), resourceSetLabel);
127 if (!labelsStore.isLabelInUse(resourceSet.getRealm(), resourceSet.getResourceOwnerId(),
129 labelsStore.delete(resourceSet.getRealm(), resourceSet.getResourceOwnerId(),
135 labelsStore.create(resourceSet.getRealm(), resourceSet.getResourceOwnerId(),
H A DResourceSetOwnerFilter.java46 if(userId.equals(resourceSetDescription.getResourceOwnerId())) {
H A DResourceSetRegistrationEndpoint.java139 getResourceOwnerId(), validator.validate(toMap(entity)));
146 QueryFilter.equalTo(ResourceSetTokenField.RESOURCE_OWNER_ID, getResourceOwnerId()));
196 ResourceSetDescription resourceSetDescription = store.read(resourceSetId, getResourceOwnerId())
232 ResourceSetDescription resourceSetDescription = store.read(resourceSetId, getResourceOwnerId());
237 resourceSetDescription.getResourceOwnerId(), resourceSetDescription.getId(), false);
252 QueryFilter.equalTo(ResourceSetTokenField.RESOURCE_OWNER_ID, getResourceOwnerId()));
283 ResourceSetDescription resourceSetDescription = store.read(getResourceSetId(), getResourceOwnerId());
290 store.delete(getResourceSetId(), getResourceOwnerId());
312 private String getResourceOwnerId() { method in class:ResourceSetRegistrationEndpoint
313 return requestFactory.create(getRequest()).getToken(AccessToken.class).getResourceOwnerId();
[all...]
/forgerock/openam/openam-oauth2/src/main/java/org/forgerock/openam/oauth2/
H A DStatelessTokenMetadata.java62 public String getResourceOwnerId() { method in class:StatelessTokenMetadata
92 map.put(USERNAME, getResourceOwnerId());
H A DStatelessTokenCtsAdapter.java50 token.setUserId(metadata.getResourceOwnerId());
60 token.setAttribute(USERNAME_FIELD, metadata.getResourceOwnerId());
/forgerock/openam-v13/openam-uma/src/main/java/org/forgerock/openam/uma/
H A DResourceSetSharedFilter.java59 if (userId.equals(resourceSetDescription.getResourceOwnerId())
H A DPermissionRequestEndpoint.java101 String resourceOwnerId = getResourceOwnerId(oAuth2Request);
177 private String getResourceOwnerId(OAuth2Request request) { method in class:PermissionRequestEndpoint
178 return request.getToken(AccessToken.class).getResourceOwnerId();
H A DAuthorizationRequestEndpoint.java137 final String resourceOwnerId = getResourceOwnerId(oauth2ProviderSettings, resourceSetId);
145 requestingPartyId == null ? getAuthorisationApiToken().getResourceOwnerId() : requestingPartyId);
237 return getAuthorisationApiToken().getResourceOwnerId();
273 private String getResourceOwnerId(OAuth2ProviderSettings providerSettings, String resourceSetId) method in class:AuthorizationRequestEndpoint
276 return resourceSetDescription.getResourceOwnerId();
298 resourceOwnerSubject = UmaUtils.createSubject(createIdentity(results.iterator().next().getResourceOwnerId(), realm));
H A DPendingRequestsService.java229 request.getResourceOwnerId(), request.getResourceSetName(),
239 AMIdentity resourceOwner = coreWrapper.getIdentity(request.getResourceOwnerId(), realm);
325 AMIdentity resourceOwner = coreWrapper.getIdentity(request.getResourceOwnerId(), realm);
/forgerock/openam/openam-uma/src/main/java/org/forgerock/openam/uma/
H A DResourceSetSharedFilter.java59 if (userId.equals(resourceSetDescription.getResourceOwnerId())
H A DPermissionRequestEndpoint.java105 String resourceOwnerId = getResourceOwnerId(oAuth2Request);
181 private String getResourceOwnerId(OAuth2Request request) { method in class:PermissionRequestEndpoint
182 return request.getToken(AccessToken.class).getResourceOwnerId();
H A DAuthorizationRequestEndpoint.java136 final String resourceOwnerId = getResourceOwnerId(oauth2ProviderSettings, resourceSetId);
144 requestingPartyId == null ? getAuthorisationApiToken().getResourceOwnerId() : requestingPartyId);
236 return getAuthorisationApiToken().getResourceOwnerId();
272 private String getResourceOwnerId(OAuth2ProviderSettings providerSettings, String resourceSetId) method in class:AuthorizationRequestEndpoint
275 return resourceSetDescription.getResourceOwnerId();
297 resourceOwnerSubject = UmaUtils.createSubject(createIdentity(results.iterator().next().getResourceOwnerId(), realm));
/forgerock/openam-v13/openam-core/src/main/java/org/forgerock/openam/sm/datalayer/impl/uma/
H A DUmaAuditEntry.java108 public String getResourceOwnerId() { method in class:UmaAuditEntry
/forgerock/openam-v13/openam-oauth2/src/test/java/org/forgerock/openam/oauth2/
H A DOpenAMScopeValidatorTest.java154 when(accessToken.getResourceOwnerId()).thenReturn(anyString());
175 when(accessToken.getResourceOwnerId()).thenReturn(anyString());
/forgerock/openam/openam-oauth2/src/test/java/org/forgerock/openam/oauth2/
H A DOpenAMScopeValidatorTest.java151 when(accessToken.getResourceOwnerId()).thenReturn(anyString());
172 when(accessToken.getResourceOwnerId()).thenReturn(anyString());

Completed in 170 milliseconds

123