/forgerock/openam-v13/openam-oauth2-common/oauth2-core/src/main/java/org/forgerock/oauth2/core/ |
H A D | GrantTypeAccessTokenGenerator.java | 39 String resourceOwnerId, String redirectUri, Set<String> scope, String validatedClaims, 44 resourceOwnerId, redirectUri, scope, request, validatedClaims); 48 authorizationCode, resourceOwnerId, clientId, redirectUri, scope, refreshToken, nonce, validatedClaims, 38 generateAccessToken(OAuth2ProviderSettings providerSettings, String grantType, String clientId, String resourceOwnerId, String redirectUri, Set<String> scope, String validatedClaims, String authorizationCode, String nonce, OAuth2Request request) argument
|
H A D | DeviceCodeGrantTypeHandler.java | 101 String resourceOwnerId = deviceCode.getResourceOwnerId(); 104 return generateAccessToken(providerSettings, grantType, clientId, resourceOwnerId, scope, 133 String resourceOwnerId, Set<String> scope, String validatedClaims, OAuth2Request request) 135 return accessTokenGenerator.generateAccessToken(providerSettings, grantType, clientId, resourceOwnerId, null, 132 generateAccessToken(OAuth2ProviderSettings providerSettings, String grantType, String clientId, String resourceOwnerId, Set<String> scope, String validatedClaims, OAuth2Request request) argument
|
/forgerock/openam-v13/openam-oauth2-common/oauth2-core/src/main/java/org/forgerock/oauth2/resources/ |
H A D | ResourceSetStore.java | 63 * @param resourceOwnerId The ID of the resource owner. 68 ResourceSetDescription read(String resourceSetId, String resourceOwnerId) throws NotFoundException, ServerException; argument 83 * @param resourceOwnerId The resource owner id. 86 void delete(String resourceSetId, String resourceOwnerId) throws NotFoundException, ServerException; argument
|
H A D | ResourceSetDescription.java | 49 private String resourceOwnerId; field in class:ResourceSetDescription 59 * @param resourceOwnerId The id of the user that owns this resource set. 62 public ResourceSetDescription(String id, String clientId, String resourceOwnerId, argument 66 this.resourceOwnerId = resourceOwnerId; 117 return resourceOwnerId; 221 public void setResourceOwnerId(String resourceOwnerId) { argument 222 this.resourceOwnerId = resourceOwnerId;
|
/forgerock/openam-v13/openam-uma/src/main/java/org/forgerock/openam/uma/rest/ |
H A D | UmaResourceSetRegistrationHook.java | 162 * @param resourceOwnerId The owner of the ResourceSet that the policies are for. 165 private Context createAdminContext(String realm, String resourceOwnerId) { argument 171 templateVariables.put("user", resourceOwnerId);
|
H A D | ResourceSetService.java | 104 * @param resourceOwnerId The resource owner Id. 109 String realm, final String resourceSetId, String resourceOwnerId, final boolean augmentWithPolicy) { 110 return getResourceSet(realm, resourceSetId, resourceOwnerId) 130 QueryRequest policyQuery, final String resourceOwnerId) { 143 if (isSharedWith(sharedPolicy.getResourceSet(), resourceOwnerId, realm)) { 202 * @param resourceOwnerId The resource owner id. 207 String realm, final ResourceSetWithPolicyQuery query, final String resourceOwnerId, 211 resourceSets = new ResourceSetSharedFilter(this, resourceOwnerId, realm) 219 return getSharedResourceSets(context, policyQuery, resourceOwnerId) 241 resourceOwnerId)); 108 getResourceSet(final Context context, String realm, final String resourceSetId, String resourceOwnerId, final boolean augmentWithPolicy) argument 129 getSharedResourceSets(final Context context, QueryRequest policyQuery, final String resourceOwnerId) argument 206 getResourceSets(final Context context, String realm, final ResourceSetWithPolicyQuery query, final String resourceOwnerId, final boolean augmentWithPolicies) argument 300 revokeAllPolicies(final Context context, String realm, String resourceOwnerId) argument 328 getResourceSet(String realm, String resourceSetId, String resourceOwnerId) argument 359 combine(Context context, ResourceSetWithPolicyQuery resourceSetWithPolicyQuery, Collection<ResourceSetDescription> resourceSets, Collection<UmaPolicy> policies, boolean augmentWithPolicies, String resourceOwnerId) argument [all...] |
/forgerock/openam/openam-oauth2/src/main/java/org/forgerock/oauth2/core/ |
H A D | GrantTypeAccessTokenGenerator.java | 49 String resourceOwnerId, String redirectUri, Set<String> scope, String validatedClaims, 70 resourceOwnerId, redirectUri, scope, request, validatedClaims, authTime); 74 authorizationCode, resourceOwnerId, clientId, redirectUri, scope, refreshToken, nonce, validatedClaims, 48 generateAccessToken(OAuth2ProviderSettings providerSettings, String grantType, String clientId, String resourceOwnerId, String redirectUri, Set<String> scope, String validatedClaims, String authorizationCode, String nonce, OAuth2Request request) argument
|
H A D | DeviceCodeGrantTypeHandler.java | 98 String resourceOwnerId = deviceCode.getResourceOwnerId(); 101 return generateAccessToken(providerSettings, grantType, clientId, resourceOwnerId, scope, 130 String resourceOwnerId, Set<String> scope, String validatedClaims, OAuth2Request request) 132 return accessTokenGenerator.generateAccessToken(providerSettings, grantType, clientId, resourceOwnerId, null, 129 generateAccessToken(OAuth2ProviderSettings providerSettings, String grantType, String clientId, String resourceOwnerId, Set<String> scope, String validatedClaims, OAuth2Request request) argument
|
/forgerock/openam/openam-oauth2/src/main/java/org/forgerock/oauth2/resources/ |
H A D | ResourceSetStore.java | 64 * @param resourceOwnerId The ID of the resource owner. 69 ResourceSetDescription read(String resourceSetId, String resourceOwnerId) throws NotFoundException, ServerException; argument 84 * @param resourceOwnerId The resource owner id. 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 D | OpenAMResourceSetStore.java | 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/openam-uma/src/main/java/org/forgerock/openam/uma/rest/ |
H A D | UmaResourceSetRegistrationHook.java | 159 * @param resourceOwnerId The owner of the ResourceSet that the policies are for. 162 private Context createAdminContext(String realm, String resourceOwnerId) throws RealmLookupException { argument 167 templateVariables.put("user", resourceOwnerId);
|
/forgerock/openam-v13/openam-oauth2/src/main/java/org/forgerock/openam/oauth2/resources/ |
H A D | OpenAMResourceSetStore.java | 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);
|
/forgerock/openam-v13/openam-uma/src/main/java/org/forgerock/openam/uma/ |
H A D | PendingRequestEmailTemplate.java | 84 * @param resourceOwnerId The resource owner username. 88 Pair<String, String> getCreationTemplate(String resourceOwnerId, String realm) { argument 89 ResourceBundle resourceBundle = getResourceBundle(resourceOwnerId, realm);
|
H A D | PendingRequestsService.java | 105 * @param resourceOwnerId The resource owner id. 113 String resourceOwnerId, 116 UmaPendingRequest pendingRequest = new UmaPendingRequest(resourceSetId, resourceSetName, resourceOwnerId, realm, 121 Pair<String, String> template = pendingRequestEmailTemplate.getCreationTemplate(resourceOwnerId, realm); 123 String scopesString = pendingRequestEmailTemplate.buildScopeString(scopes, resourceOwnerId, realm); 125 emailService.email(realm, resourceOwnerId, template.getFirst(), 152 * Queries pending requests for the specified {@literal resourceOwnerId} and {@literal realm}. 154 * @param resourceOwnerId The resource owner id. 159 public Set<UmaPendingRequest> queryPendingRequests(String resourceOwnerId, String realm) throws ResourceException { argument 162 QueryFilter.equalTo(RESOURCE_OWNER_ID_FIELD, resourceOwnerId), 112 createPendingRequest(HttpServletRequest httpRequest, String resourceSetId, String resourceSetName, String resourceOwnerId, String requestingPartyId, String realm, Set<String> scopes) argument 181 queryPendingRequests(String resourceSetId, String resourceOwnerId, String realm, String requestingPartyId) argument [all...] |
H A D | PermissionRequestEndpoint.java | 101 String resourceOwnerId = getResourceOwnerId(oAuth2Request); 102 ResourceSetDescription resourceSetDescription = getResourceSet(resourceSetId, resourceOwnerId, 162 private ResourceSetDescription getResourceSet(String resourceSetId, String resourceOwnerId, OAuth2ProviderSettings providerSettings) throws UmaException { argument 165 return store.read(resourceSetId, resourceOwnerId);
|
/forgerock/openam-v13/openam-uma/src/test/java/org/forgerock/openam/uma/ |
H A D | UmaPolicyTest.java | 60 private Set<ResourceResponse> createUnderlyingPolicies(String resourceOwnerId) { argument 62 policies.add(newResourceResponse("ID_1", "REVISION_1", createUnderlyingSubjectOnePolicyJson(resourceOwnerId))); 63 policies.add(newResourceResponse("ID_2", "REVISION_2", createUnderlyingSubjectTwoPolicyJson(resourceOwnerId))); 67 private JsonValue createUnderlyingSubjectOnePolicyJson(String resourceOwnerId) { argument 68 return createUnderlyingSubjectOnePolicyJson(resourceOwnerId, "POLICY_ID"); 71 private JsonValue createUnderlyingSubjectOnePolicyJson(String resourceOwnerId, String id) { argument 73 field("name", "NAME - " + resourceOwnerId + " - " + id + "-" + "SUBJECT_ONE".hashCode()), 88 private JsonValue createUnderlyingSubjectTwoPolicyJson(String resourceOwnerId) { argument 89 return createUnderlyingSubjectTwoPolicyJson(resourceOwnerId, "POLICY_ID"); 92 private JsonValue createUnderlyingSubjectTwoPolicyJson(String resourceOwnerId, Strin argument [all...] |
/forgerock/openam/openam-oauth2/src/main/java/org/forgerock/openam/oauth2/ |
H A D | StatelessTokenMetadata.java | 36 private String resourceOwnerId; field in class:StatelessTokenMetadata 45 public StatelessTokenMetadata(String id, String resourceOwnerId, long expiryTime, String grantId, argument 48 this.resourceOwnerId = resourceOwnerId; 63 return resourceOwnerId;
|
/forgerock/openam/openam-uma/src/main/java/org/forgerock/openam/uma/ |
H A D | PendingRequestEmailTemplate.java | 84 * @param resourceOwnerId The resource owner username. 88 Pair<String, String> getCreationTemplate(String resourceOwnerId, String realm) { argument 89 ResourceBundle resourceBundle = getResourceBundle(resourceOwnerId, realm);
|
/forgerock/openam/openam-uma/src/test/java/org/forgerock/openam/uma/ |
H A D | UmaPolicyTest.java | 60 private Set<ResourceResponse> createUnderlyingPolicies(String resourceOwnerId) { argument 62 policies.add(newResourceResponse("ID_1", "REVISION_1", createUnderlyingSubjectOnePolicyJson(resourceOwnerId))); 63 policies.add(newResourceResponse("ID_2", "REVISION_2", createUnderlyingSubjectTwoPolicyJson(resourceOwnerId))); 67 private JsonValue createUnderlyingSubjectOnePolicyJson(String resourceOwnerId) { argument 68 return createUnderlyingSubjectOnePolicyJson(resourceOwnerId, "POLICY_ID"); 71 private JsonValue createUnderlyingSubjectOnePolicyJson(String resourceOwnerId, String id) { argument 73 field("name", "NAME - " + resourceOwnerId + " - " + id + "-" + "SUBJECT_ONE".hashCode()), 88 private JsonValue createUnderlyingSubjectTwoPolicyJson(String resourceOwnerId) { argument 89 return createUnderlyingSubjectTwoPolicyJson(resourceOwnerId, "POLICY_ID"); 92 private JsonValue createUnderlyingSubjectTwoPolicyJson(String resourceOwnerId, Strin argument [all...] |
/forgerock/openam-v13/openam-core/src/main/java/org/forgerock/openam/sm/datalayer/impl/uma/ |
H A D | UmaAuditEntry.java | 44 private String resourceOwnerId; field in class:UmaAuditEntry 51 public UmaAuditEntry(String resourceSetId, String resourceSetName, String resourceOwnerId, String type, argument 55 this.resourceOwnerId = resourceOwnerId; 109 return resourceOwnerId; 112 public void setResourceOwnerId(String resourceOwnerId) { argument 113 this.resourceOwnerId = resourceOwnerId;
|
H A D | UmaPendingRequest.java | 40 public static final String RESOURCE_OWNER_ID_FIELD = "resourceOwnerId"; 52 private String resourceOwnerId; field in class:UmaPendingRequest 65 public UmaPendingRequest(String resourceSetId, String resourceSetName, String resourceOwnerId, String realm, argument 69 this.resourceOwnerId = resourceOwnerId; 102 return resourceOwnerId; 105 public void setResourceOwnerId(String resourceOwnerId) { argument 106 this.resourceOwnerId = resourceOwnerId;
|
/forgerock/openam-v13/openam-oauth2/src/main/java/org/forgerock/openam/oauth2/ |
H A D | OpenAMRefreshToken.java | 53 * @param resourceOwnerId The resource owner's id. 65 public OpenAMRefreshToken(String id, String resourceOwnerId, String clientId, String redirectUri, Set<String> scope, argument 68 super(id, resourceOwnerId, clientId, redirectUri, scope, expiryTime, tokenType, tokenName, grantType,
|
/forgerock/openam-v13/openam-uma/src/test/java/org/forgerock/openam/uma/rest/ |
H A D | ResourceSetServiceTest.java | 98 String resourceOwnerId = "RESOURCE_OWNER_ID"; 106 ResourceSetDescription resourceSet = service.getResourceSet(context, realm, resourceSetId, resourceOwnerId, 122 String resourceOwnerId = "RESOURCE_OWNER_ID"; 135 ResourceSetDescription resourceSet = service.getResourceSet(context, realm, resourceSetId, resourceOwnerId, 150 private void mockResourceOwnerIdentity(String resourceOwnerId, String realm) { argument 152 given(identity.getUniversalId()).willReturn(resourceOwnerId + "_UNIVERSAL_ID"); 153 given(coreWrapper.getIdentity(resourceOwnerId, realm)).willReturn(identity); 163 String resourceOwnerId = "RESOURCE_OWNER_ID"; 179 mockResourceOwnerIdentity(resourceOwnerId, realm); 184 Collection<ResourceSetDescription> resourceSets = service.getResourceSets(context, realm, query, resourceOwnerId, [all...] |
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/oauth2/ |
H A D | ResourceSetDescription.java | 52 private String resourceOwnerId; field in class:ResourceSetDescription 62 * @param resourceOwnerId The id of the user that owns this resource set. 65 public ResourceSetDescription(String id, String clientId, String resourceOwnerId, argument 69 this.resourceOwnerId = resourceOwnerId; 120 return resourceOwnerId; 224 public void setResourceOwnerId(String resourceOwnerId) { argument 225 this.resourceOwnerId = resourceOwnerId;
|
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/sm/datalayer/impl/uma/ |
H A D | UmaAuditEntry.java | 66 @Title(AUDIT_HISTORY_RESOURCE + "umaauditentry.resourceOwnerId.title") 67 @Description(AUDIT_HISTORY_RESOURCE + "umaauditentry.resourceOwnerId.description") 69 private String resourceOwnerId; field in class:UmaAuditEntry 79 public UmaAuditEntry(String resourceSetId, String resourceSetName, String resourceOwnerId, String type, argument 83 this.resourceOwnerId = resourceOwnerId; 137 return resourceOwnerId; 140 public void setResourceOwnerId(String resourceOwnerId) { argument 141 this.resourceOwnerId = resourceOwnerId; [all...] |