Package org.gluu.oxauth.uma.ws.rs
Class UmaPermissionRegistrationWS
- java.lang.Object
-
- org.gluu.oxauth.uma.ws.rs.UmaPermissionRegistrationWS
-
@Path("/host/rsrc_pr") public class UmaPermissionRegistrationWS extends java.lang.Object
The endpoint at which the host registers permissions that it anticipates a requester will shortly be asking for from the AM. This AM's endpoint is part of resource set registration API.In response to receiving an access request accompanied by an RPT that is invalid or has insufficient authorization data, the host SHOULD register a permission with the AM that would be sufficient for the type of access sought. The AM returns a permission ticket for the host to give to the requester in its response.
- Author:
- Yuriy Zabrovarnyy
-
-
Constructor Summary
Constructors Constructor Description UmaPermissionRegistrationWS()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
registerPermission(javax.servlet.http.HttpServletRequest request, java.lang.String authorization, java.lang.String requestAsString)
-
-
-
Method Detail
-
registerPermission
@POST @Consumes("application/json") @Produces("application/json") public javax.ws.rs.core.Response registerPermission(@Context javax.servlet.http.HttpServletRequest request, @HeaderParam("Authorization") java.lang.String authorization, java.lang.String requestAsString)
-
-