Class AuthorizationService


  • @Path("authorize")
    public class AuthorizationService
    extends Object
    • Constructor Detail

      • AuthorizationService

        public AuthorizationService()
    • Method Detail

      • setMessageContext

        @Context
        public void setMessageContext​(MessageContext context)
      • authorize

        @GET
        @Produces({"application/xhtml+xml","text/html","application/xml","application/json"})
        public javax.ws.rs.core.Response authorize​(@QueryParam("response_type")
                                                   String responseType)
      • authorizePost

        @POST
        @Consumes("application/x-www-form-urlencoded")
        @Produces({"application/xhtml+xml","text/html","application/xml","application/json"})
        public javax.ws.rs.core.Response authorizePost​(javax.ws.rs.core.MultivaluedMap<String,​String> params)
      • authorizeDecision

        @GET
        @Path("/decision")
        public javax.ws.rs.core.Response authorizeDecision​(@QueryParam("response_type")
                                                           String responseType)
      • authorizeDecisionForm

        @POST
        @Path("/decision")
        @Consumes("application/x-www-form-urlencoded")
        public javax.ws.rs.core.Response authorizeDecisionForm​(javax.ws.rs.core.MultivaluedMap<String,​String> params)
        Processes the end user decision
        Returns:
        The grant value, authorization code or the token
      • reportInvalidResponseType

        protected javax.ws.rs.core.Response reportInvalidResponseType()