Package io.jans.as.client.uma
Interface UmaResourceService
-
public interface UmaResourceService
REST WS UMA resource set description API- Author:
- Yuriy Zabrovarnyy
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description io.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)
List<String>
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 Detail
-
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
@PUT @Path("{rsid}") @Consumes("application/json") @Produces("application/json") io.jans.as.model.uma.UmaResourceResponse updateResource(@HeaderParam("Authorization") String authorization, @PathParam("rsid") String rsid, io.jans.as.model.uma.UmaResource resource)
-
getResource
@GET @Path("{rsid}") @Produces("application/json") io.jans.as.model.uma.UmaResourceWithId getResource(@HeaderParam("Authorization") String authorization, @PathParam("rsid") String rsid)
-
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.
-
-