Class 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
    • 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UmaPermissionRegistrationWS

        public UmaPermissionRegistrationWS()
    • 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)