Searched defs:resourceSetLabel (Results 1 - 2 of 2) sorted by relevance
/forgerock/openam/openam-uma/src/main/java/org/forgerock/openam/uma/rest/ |
H A D | UmaLabelResource.java | 164 ResourceSetLabel resourceSetLabel = labelStore.read(getRealm(serverContext), getUserName(serverContext), labelId); 166 if (!isSameRevision(deleteRequest, resourceSetLabel)) { 171 return newResultPromise(newResourceResponse(labelId, null, resourceSetLabel.asJson())); 177 private boolean isSameRevision(DeleteRequest deleteRequest, ResourceSetLabel resourceSetLabel) { argument 184 return revision.equals(String.valueOf(resourceSetLabel.hashCode()));
|
/forgerock/openam-v13/openam-uma/src/main/java/org/forgerock/openam/uma/rest/ |
H A D | UmaLabelResource.java | 139 ResourceSetLabel resourceSetLabel = labelStore.read(getRealm(serverContext), getUserName(serverContext), labelId); 141 if (!isSameRevision(deleteRequest, resourceSetLabel)) { 146 return newResultPromise(newResourceResponse(labelId, null, resourceSetLabel.asJson())); 152 private boolean isSameRevision(DeleteRequest deleteRequest, ResourceSetLabel resourceSetLabel) { argument 159 return revision.equals(String.valueOf(resourceSetLabel.hashCode()));
|
Completed in 29 milliseconds