Class UmaPermissionRegistrationWS

java.lang.Object
io.jans.as.server.uma.ws.rs.UmaPermissionRegistrationWS

@Path("/host/rsrc_pr") public class UmaPermissionRegistrationWS extends 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 Details

    • UmaPermissionRegistrationWS

      public UmaPermissionRegistrationWS()
  • Method Details

    • registerPermission

      @POST @Consumes("application/json") @Produces("application/json") public jakarta.ws.rs.core.Response registerPermission(@Context jakarta.servlet.http.HttpServletRequest request, @HeaderParam("Authorization") String authorization, String requestAsString)