Class OatResolver


  • @Path("oat")
    public class OatResolver
    extends Object
    The Class OatResolver. generates an old authz token from an UMAToken
    Author:
    Francesco Mangiacrapa at ISTI-CNR francesco.mangiacrapa@isti.cnr.it Apr 5, 2022
    • Constructor Detail

      • OatResolver

        public OatResolver()
    • Method Detail

      • getLegacyToken

        @GET
        @Path("/get")
        @Produces("text/plain")
        public javax.ws.rs.core.Response getLegacyToken​(@Context
                                                        javax.servlet.http.HttpServletRequest req)
                                                 throws javax.ws.rs.WebApplicationException
        Gets the legacy token.
        Parameters:
        req - the req
        Returns:
        the legacy token
        Throws:
        javax.ws.rs.WebApplicationException - the web application exception