/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/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;
|
H A D | OpenAMTokenStore.java | 86 String resourceOwnerId, String clientId, String redirectUri, Set<String> scope, 89 return createAccessToken(grantType, accessTokenType, authorizationCode, resourceOwnerId, 96 String resourceOwnerId, String clientId, String redirectUri, Set<String> scope, 100 return statelessTokenStore.createAccessToken(grantType, accessTokenType, authorizationCode, resourceOwnerId, 103 return statefulTokenStore.createAccessToken(grantType, accessTokenType, authorizationCode, resourceOwnerId, 109 public RefreshToken createRefreshToken(String grantType, String clientId, String resourceOwnerId, argument 113 return statelessTokenStore.createRefreshToken(grantType, clientId, resourceOwnerId, redirectUri, scope, 116 return statefulTokenStore.createRefreshToken(grantType, clientId, resourceOwnerId, redirectUri, scope, 122 public RefreshToken createRefreshToken(String grantType, String clientId, String resourceOwnerId, argument 125 return createRefreshToken(grantType, clientId, resourceOwnerId, redirectUr 85 createAccessToken(String grantType, String accessTokenType, String authorizationCode, String resourceOwnerId, String clientId, String redirectUri, Set<String> scope, RefreshToken refreshToken, String nonce, String claims, OAuth2Request request) argument 95 createAccessToken(String grantType, String accessTokenType, String authorizationCode, String resourceOwnerId, String clientId, String redirectUri, Set<String> scope, RefreshToken refreshToken, String nonce, String claims, OAuth2Request request, long authTime) argument 130 createRefreshToken(String grantType, String clientId, String resourceOwnerId, String redirectUri, Set<String> scope, OAuth2Request request, String validatedClaims, long authTime) argument 143 createRefreshToken(String grantType, String clientId, String resourceOwnerId, String redirectUri, Set<String> scope, OAuth2Request request, String validatedClaims, String authGrantId) argument 151 createRefreshToken(String grantType, String clientId, String resourceOwnerId, String redirectUri, Set<String> scope, OAuth2Request request, String validatedClaims, String authGrantId, long authTime) argument [all...] |
H A D | StatelessTokenCtsAdapter.java | 66 String resourceOwnerId = token.getUserId(); 74 return new StatelessTokenMetadata(token.getTokenId(), resourceOwnerId, expiryTime, grantId, clientId, scope,
|
/forgerock/openam-v13/openam-oauth2-common/oauth2-core/src/main/java/org/forgerock/oauth2/resources/ |
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;
|
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
|
/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...] |
H A D | UmaPendingRequest.java | 46 public static final String RESOURCE_OWNER_ID_FIELD = "resourceOwnerId"; 58 private String resourceOwnerId; field in class:UmaPendingRequest 71 public UmaPendingRequest(String resourceSetId, String resourceSetName, String resourceOwnerId, String realm, argument 75 this.resourceOwnerId = resourceOwnerId; 108 return resourceOwnerId; 111 public void setResourceOwnerId(String resourceOwnerId) { argument 112 this.resourceOwnerId = resourceOwnerId;
|
/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 | TokenStore.java | 67 * @param resourceOwnerId The resource owner's id. 80 String resourceOwnerId, String clientId, String redirectUri, Set<String> scope, 89 * @param resourceOwnerId The resource owner's Id. 97 RefreshToken createRefreshToken(String grantType, String clientId, String resourceOwnerId, argument 106 * @param resourceOwnerId The resource owner's Id. 115 RefreshToken createRefreshToken(String grantType, String clientId, String resourceOwnerId, argument 79 createAccessToken(String grantType, String accessTokenType, String authorizationCode, String resourceOwnerId, String clientId, String redirectUri, Set<String> scope, RefreshToken refreshToken, String nonce, String claims, OAuth2Request request) argument
|
/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-uma/src/test/java/org/forgerock/openam/uma/rest/ |
H A D | ResourceSetServiceTest.java | 109 String resourceOwnerId = "RESOURCE_OWNER_ID"; 117 ResourceSetDescription resourceSet = service.getResourceSet(context, realm, resourceSetId, resourceOwnerId, 133 String resourceOwnerId = "RESOURCE_OWNER_ID"; 146 ResourceSetDescription resourceSet = service.getResourceSet(context, realm, resourceSetId, resourceOwnerId, 162 private void mockResourceOwnerIdentity(String resourceOwnerId, String realm) { argument 164 given(identity.getUniversalId()).willReturn(resourceOwnerId + "_UNIVERSAL_ID"); 165 given(coreWrapper.getIdentity(resourceOwnerId, realm)).willReturn(identity); 175 String resourceOwnerId = "RESOURCE_OWNER_ID"; 191 mockResourceOwnerIdentity(resourceOwnerId, realm); 196 Collection<ResourceSetDescription> resourceSets = service.getResourceSets(context, realm, query, resourceOwnerId, [all...] |
/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-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/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/oauth2/core/ |
H A D | TokenStore.java | 70 * @param resourceOwnerId The resource owner's id. 83 String resourceOwnerId, String clientId, String redirectUri, Set<String> scope, 93 * @param resourceOwnerId The resource owner's id. 107 String resourceOwnerId, String clientId, String redirectUri, Set<String> scope, 116 * @param resourceOwnerId The resource owner's Id. 124 RefreshToken createRefreshToken(String grantType, String clientId, String resourceOwnerId, argument 133 * @param resourceOwnerId The resource owner's Id. 142 RefreshToken createRefreshToken(String grantType, String clientId, String resourceOwnerId, argument 151 * @param resourceOwnerId The resource owner's Id. 161 RefreshToken createRefreshToken(String grantType, String clientId, String resourceOwnerId, argument 82 createAccessToken(String grantType, String accessTokenType, String authorizationCode, String resourceOwnerId, String clientId, String redirectUri, Set<String> scope, RefreshToken refreshToken, String nonce, String claims, OAuth2Request request) argument 106 createAccessToken(String grantType, String accessTokenType, String authorizationCode, String resourceOwnerId, String clientId, String redirectUri, Set<String> scope, RefreshToken refreshToken, String nonce, String claims, OAuth2Request request, long authTime) argument 180 createRefreshToken(String grantType, String clientId, String resourceOwnerId, String redirectUri, Set<String> scope, OAuth2Request request, String validatedClaims, String authGrantId) argument 200 createRefreshToken(String grantType, String clientId, String resourceOwnerId, String redirectUri, Set<String> scope, OAuth2Request request, String validatedClaims, String authGrantId, long authTime) argument [all...] |
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
|
/forgerock/openam/openam-oauth2/src/test/java/org/forgerock/oauth2/core/ |
H A D | StatefulAccessTokenTest.java | 86 String resourceOwnerId = "demo"; 100 return new StatefulAccessToken(id, authorizationCode, resourceOwnerId, client, redirectUri, scope, expiryTime,
|
/forgerock/openam-v13/openam-uma/src/main/java/org/forgerock/openam/uma/ |
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...] |
/forgerock/openam/openam-uma/src/main/java/org/forgerock/openam/uma/ |
H A D | PendingRequestsService.java | 107 * @param resourceOwnerId The resource owner id. 115 String resourceOwnerId, 118 UmaPendingRequest pendingRequest = new UmaPendingRequest(resourceSetId, resourceSetName, resourceOwnerId, realm, 123 Pair<String, String> template = pendingRequestEmailTemplate.getCreationTemplate(resourceOwnerId, realm); 125 String scopesString = pendingRequestEmailTemplate.buildScopeString(scopes, resourceOwnerId, realm); 127 emailService.email(realm, resourceOwnerId, template.getFirst(), 154 * Queries pending requests for the specified {@literal resourceOwnerId} and {@literal realm}. 156 * @param resourceOwnerId The resource owner id. 161 public Set<UmaPendingRequest> queryPendingRequests(String resourceOwnerId, String realm) throws ResourceException { argument 164 QueryFilter.equalTo(RESOURCE_OWNER_ID_FIELD, resourceOwnerId), 114 createPendingRequest(HttpServletRequest httpRequest, String resourceSetId, String resourceSetName, String resourceOwnerId, String requestingPartyId, String realm, Set<String> scopes) argument 183 queryPendingRequests(String resourceSetId, String resourceOwnerId, String realm, String requestingPartyId) argument [all...] |
/forgerock/openam-v13/openam-uma/src/main/java/org/forgerock/openam/uma/rest/ |
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-uma/src/main/java/org/forgerock/openam/uma/rest/ |
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-v13/openam-oauth2/src/main/java/org/forgerock/openam/oauth2/ |
H A D | OpenAMAccessToken.java | 69 * @param resourceOwnerId The resource owner's id. 82 public OpenAMAccessToken(String id, String authorizationCode, String resourceOwnerId, String clientId, argument 86 super(id, authorizationCode, resourceOwnerId, clientId, redirectUri, scope, expiryTime, refreshTokenId, 120 protected void setResourceOwnerId(String resourceOwnerId) { argument 121 put(USERNAME, stringToSet(resourceOwnerId));
|