Package io.jans.as.client.uma
Interface UmaResourceService
public interface UmaResourceService
REST WS UMA resource set description API
- Author:
- Yuriy Zabrovarnyy
-
Method Summary
Modifier and TypeMethodDescriptionio.jans.as.model.uma.UmaResourceResponse
addResource
(String authorization, io.jans.as.model.uma.UmaResource resource) void
deleteResource
(String authorization, String rsid) io.jans.as.model.uma.UmaResourceWithId
getResource
(String authorization, String rsid) getResourceList
(String authorization, String scope) Gets resources.io.jans.as.model.uma.UmaResourceResponse
updateResource
(String authorization, String rsid, io.jans.as.model.uma.UmaResource resource)
-
Method Details
-
addResource
@POST @Consumes("application/json") @Produces("application/json") io.jans.as.model.uma.UmaResourceResponse addResource(@HeaderParam("Authorization") String authorization, io.jans.as.model.uma.UmaResource resource) -
updateResource
-
getResource
-
getResourceList
@GET @Produces("application/json") List<String> getResourceList(@HeaderParam("Authorization") String authorization, @QueryParam("scope") String scope) Gets resources. ATTENTION: "scope" is parameter added by gluu to have additional filtering. There is no such parameter in UMA specification.- Parameters:
authorization
- authorizationscope
- scope of resource set for additional filtering, can blank string.- Returns:
- resource set ids.
-
deleteResource
-