/forgerock/openam/openam-uma/src/main/java/org/forgerock/openam/uma/ |
H A D | AuthorizationRequestEndpoint.java | 138 AMIdentity resourceOwner = createIdentity(resourceOwnerId, realm); 143 auditLogger.log(resourceSetId, resourceOwner, UmaAuditType.REQUEST, request, 149 auditLogger.log(resourceSetId, resourceOwner, UmaAuditType.GRANTED, request, requestingPartyId); 155 auditLogger.log(resourceSetId, resourceOwner, UmaAuditType.DENIED, request, requestingPartyId); 162 auditLogger.log(resourceSetId, resourceOwner, UmaAuditType.REQUEST_SUBMITTED, request, 331 private boolean isRequestingPartyResourceOwner(Subject requestingParty, Subject resourceOwner) { argument 332 return resourceOwner.equals(requestingParty); 336 Subject resourceOwner) throws UmaException { 338 filter.beforeAuthorization(permissionTicket, requestingParty, resourceOwner); 343 Subject resourceOwner) { 335 beforeAuthorization(PermissionTicket permissionTicket, Subject requestingParty, Subject resourceOwner) argument 342 afterAuthorization(boolean isAuthorized, PermissionTicket permissionTicket, Subject requestingParty, Subject resourceOwner) argument [all...] |
H A D | PendingRequestsService.java | 241 AMIdentity resourceOwner = coreWrapper.getIdentity(request.getResourceOwnerId(), realm); 243 resourceOwner, UmaAuditType.REQUEST_APPROVED, request.getRequestingPartyId()); 327 AMIdentity resourceOwner = coreWrapper.getIdentity(request.getResourceOwnerId(), realm); 328 auditLogger.log(request.getResourceSetId(), request.getResourceSetName(), resourceOwner,
|
/forgerock/openam/openam-oauth2/src/main/java/org/forgerock/openam/oauth2/ |
H A D | OpenAMTokenStore.java | 65 public AuthorizationCode createAuthorizationCode(Set<String> scope, ResourceOwner resourceOwner, String clientId, argument 69 return statelessTokenStore.createAuthorizationCode(scope, resourceOwner, clientId, redirectUri, nonce, request, 72 return statefulTokenStore.createAuthorizationCode(scope, resourceOwner, clientId, redirectUri, nonce, request, 78 public OpenIdConnectToken createOpenIDToken(ResourceOwner resourceOwner, String clientId, argument 81 return statefulTokenStore.createOpenIDToken(resourceOwner, clientId, authorizationParty, nonce, ops, request); 245 public DeviceCode createDeviceCode(Set<String> scope, ResourceOwner resourceOwner, String clientId, String nonce, argument 250 return statelessTokenStore.createDeviceCode(scope, resourceOwner, clientId, nonce, responseType, state, 253 return statefulTokenStore.createDeviceCode(scope, resourceOwner, clientId, nonce, responseType, state,
|
/forgerock/openam/openam-oauth2/src/main/java/org/forgerock/openidconnect/ |
H A D | IdTokenResponseTypeHandler.java | 67 ResourceOwner resourceOwner, String clientId, String redirectUri, String nonce, OAuth2Request request, 71 final OpenIdConnectToken openIDToken = tokenStore.createOpenIDToken(resourceOwner, 66 handle(String tokenType, Set<String> scope, ResourceOwner resourceOwner, String clientId, String redirectUri, String nonce, OAuth2Request request, String codeChallenge, String codeChallengeMethod) argument
|
/forgerock/openam-v13/openam-uma/src/main/java/org/forgerock/openam/uma/audit/ |
H A D | UmaAuditLogger.java | 65 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(),
|
/forgerock/openam/openam-uma/src/main/java/org/forgerock/openam/uma/audit/ |
H A D | UmaAuditLogger.java | 66 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(),
|
/forgerock/openam-v13/openam-oauth2/src/main/java/org/forgerock/openam/oauth2/legacy/ |
H A D | LegacyResponseTypeHandler.java | 59 String tokenType, Set<String> scope, ResourceOwner resourceOwner, String clientId, 66 data.put(USERNAME, resourceOwner.getId()); 58 handle( String tokenType, Set<String> scope, ResourceOwner resourceOwner, String clientId, String redirectUri, String nonce, OAuth2Request request, String codeChallenge, String codeChallengeMethod) argument
|
/forgerock/openam-v13/openam-oauth2/src/main/java/org/forgerock/restlet/ext/oauth2/flow/responseTypes/ |
H A D | CodeResponseType.java | 64 final ResourceOwner resourceOwner = ownerAuthenticator.authenticate(request, true); 73 final Map.Entry<String,Token> tokenEntry = handler.handle(null, scope, resourceOwner, clientId,
|
H A D | IDTokenResponseType.java | 66 final ResourceOwner resourceOwner = ownerAuthenticator.authenticate(request, true); 73 final Map.Entry<String,Token> tokenEntry = handler.handle(null, null, resourceOwner, clientId,
|
H A D | TokenResponseType.java | 69 final ResourceOwner resourceOwner = ownerAuthenticator.authenticate(request, true); 76 final Map.Entry<String,Token> tokenEntry = handler.handle(tokenType, scope, resourceOwner, clientId,
|
/forgerock/openam-v13/openam-oauth2-common/oauth2-core/src/main/java/org/forgerock/oauth2/core/ |
H A D | OAuth2ProviderSettings.java | 58 * @param resourceOwner The resource owner. 64 boolean isConsentSaved(ResourceOwner resourceOwner, String clientId, Set<String> scope); argument 163 * @param resourceOwner The resource owner. 167 void saveConsent(ResourceOwner resourceOwner, String clientId, Set<String> scope); argument
|
H A D | TokenStore.java | 46 * @param resourceOwner The resource owner. 57 AuthorizationCode createAuthorizationCode(Set<String> scope, ResourceOwner resourceOwner, String clientId, String redirectUri, String nonce, OAuth2Request request, argument 205 * @param resourceOwner The resource owner ID. 223 DeviceCode createDeviceCode(Set<String> scope, ResourceOwner resourceOwner, String clientId, String nonce, String responseType, argument
|
H A D | AuthorizationTokenIssuer.java | 53 * @param resourceOwner The resource owner. 66 ResourceOwner resourceOwner, Set<String> authorizationScope, OAuth2ProviderSettings providerSettings) 106 resourceOwner, clientId, redirectUri, nonce, request, codeChallenge, codeChallengeMethod); 65 issueTokens(OAuth2Request request, ClientRegistration clientRegistration, ResourceOwner resourceOwner, Set<String> authorizationScope, OAuth2ProviderSettings providerSettings) argument
|
/forgerock/openam/openam-oauth2/src/main/java/org/forgerock/oauth2/core/ |
H A D | OAuth2ProviderSettings.java | 100 * @param resourceOwner The resource owner. 106 boolean isConsentSaved(ResourceOwner resourceOwner, String clientId, Set<String> scope); argument 207 * @param resourceOwner The resource owner. 211 void saveConsent(ResourceOwner resourceOwner, String clientId, Set<String> scope); argument
|
H A D | AuthorizationTokenIssuer.java | 64 * @param resourceOwner The resource owner. 77 ResourceOwner resourceOwner, Set<String> authorizationScope, OAuth2ProviderSettings providerSettings) 117 resourceOwner, clientId, redirectUri, nonce, request, codeChallenge, codeChallengeMethod); 76 issueTokens(OAuth2Request request, ClientRegistration clientRegistration, ResourceOwner resourceOwner, Set<String> authorizationScope, OAuth2ProviderSettings providerSettings) argument
|
H A D | TokenStore.java | 49 * @param resourceOwner The resource owner. 60 AuthorizationCode createAuthorizationCode(Set<String> scope, ResourceOwner resourceOwner, String clientId, String redirectUri, String nonce, OAuth2Request request, argument 302 * @param resourceOwner The resource owner ID. 320 DeviceCode createDeviceCode(Set<String> scope, ResourceOwner resourceOwner, String clientId, String nonce, argument
|
/forgerock/openam-v13/openam-uma/src/main/java/org/forgerock/openam/uma/rest/ |
H A D | PolicyGraph.java | 68 private final String resourceOwner; field in class:PolicyGraph 82 this.resourceOwner = resourceSet.getResourceOwnerId(); 267 if (graph.containsVertex(resourceOwner)) { 268 for (PolicyEdge edge : graph.edgesOf(resourceOwner)) { 269 findRights0(rights, new HashSet<>(singleton(resourceOwner)), edge, new HashSet<>(edge.actions));
|
/forgerock/openam/openam-uma/src/main/java/org/forgerock/openam/uma/rest/ |
H A D | PolicyGraph.java | 68 private final String resourceOwner; field in class:PolicyGraph 82 this.resourceOwner = resourceSet.getResourceOwnerId(); 267 if (graph.containsVertex(resourceOwner)) { 268 for (PolicyEdge edge : graph.edgesOf(resourceOwner)) { 269 findRights0(rights, new HashSet<>(singleton(resourceOwner)), edge, new HashSet<>(edge.actions));
|
/forgerock/openam-v13/openam-oauth2-common/oauth2-restlet/src/main/java/org/forgerock/oauth2/restlet/ |
H A D | DeviceCodeVerificationResource.java | 147 ResourceOwner resourceOwner = resourceOwnerSessionValidator.validate(request); 148 deviceCode.setResourceOwnerId(resourceOwner.getId()); 186 ResourceOwner resourceOwner = resourceOwnerSessionValidator.validate(request); 191 providerSettings.saveConsent(resourceOwner, clientRegistration.getClientId(), validatedScope);
|
/forgerock/openam-v13/openam-uma/src/main/java/org/forgerock/openam/uma/ |
H A D | PendingRequestsService.java | 239 AMIdentity resourceOwner = coreWrapper.getIdentity(request.getResourceOwnerId(), realm); 241 resourceOwner, UmaAuditType.REQUEST_APPROVED, request.getRequestingPartyId()); 325 AMIdentity resourceOwner = coreWrapper.getIdentity(request.getResourceOwnerId(), realm); 326 auditLogger.log(request.getResourceSetId(), request.getResourceSetName(), resourceOwner,
|
/forgerock/openam/openam-oauth2/src/main/java/org/forgerock/oauth2/restlet/ |
H A D | DeviceCodeVerificationResource.java | 162 ResourceOwner resourceOwner = resourceOwnerSessionValidator.validate(request); 163 deviceCode.setResourceOwnerId(resourceOwner.getId()); 201 ResourceOwner resourceOwner = resourceOwnerSessionValidator.validate(request); 206 providerSettings.saveConsent(resourceOwner, clientRegistration.getClientId(), validatedScope);
|
/forgerock/openam-v13/openam-oauth2/src/main/java/org/forgerock/openam/oauth2/ |
H A D | OpenAMOAuth2ProviderSettings.java | 233 public boolean isConsentSaved(ResourceOwner resourceOwner, String clientId, Set<String> scope) { argument 239 AMIdentity id = ((OpenAMResourceOwner) resourceOwner).getIdentity(); 244 logger.message("Existing saved consent value for resourceOwner: " + resourceOwner.getId() + 270 logger.message("No existing saved consent value for resourceOwner: " + resourceOwner.getId() 475 public void saveConsent(ResourceOwner resourceOwner, String clientId, Set<String> scope) { argument 481 AMIdentity id = ((OpenAMResourceOwner) resourceOwner).getIdentity(); 494 logger.message("Saving consents:" + consents + " for resourceOwner: " + resourceOwner [all...] |
/forgerock/openam-v13/openam-oauth2/src/main/java/org/forgerock/openam/oauth2/provider/impl/ |
H A D | ScopeImpl.java | 178 final String resourceOwner = token.getUserID(); 185 } else if (resourceOwner != null) { 186 id = identityManager.getResourceOwnerIdentity(resourceOwner, token.getRealm());
|
/forgerock/openam-v13/openam-oauth2/src/test/java/org/forgerock/openam/oauth2/ |
H A D | OpenAMTokenStoreTest.java | 229 ResourceOwner resourceOwner = mock(ResourceOwner.class); 230 given(resourceOwner.getId()).willReturn("RESOURCE_OWNER_ID"); 233 DeviceCode code = openAMtokenStore.createDeviceCode(asSet("one", "two"), resourceOwner, "CLIENT ID", "NONCE",
|
/forgerock/openam-v13/openam-uma/src/test/java/org/forgerock/openam/uma/rest/ |
H A D | UmaPolicyServiceImplDelegationTest.java | 339 private String registerResourceSet(String resourceOwner) throws Exception { argument 340 setupIdentityForUser(resourceOwner, loggedInRealm); 342 ResourceSetDescription resourceSet = new ResourceSetDescription(resourceSetId, "CLIENT_ID", resourceOwner, 344 given(resourceSetStore.read(resourceSetId, resourceOwner)).willReturn(resourceSet);
|