Class AuthorizationService

java.lang.Object
org.apache.cxf.rs.security.oauth2.services.AuthorizationService

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

    • AuthorizationService

      public AuthorizationService()
  • Method Details

    • setMessageContext

      @Context public void setMessageContext(MessageContext context)
    • authorize

      @GET @Produces({"application/xhtml+xml","text/html","application/xml","application/json"}) public jakarta.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 jakarta.ws.rs.core.Response authorizePost(jakarta.ws.rs.core.MultivaluedMap<String,String> params)
    • authorizeDecision

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

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

      public void setServices(List<RedirectionBasedGrantService> services)
    • reportInvalidResponseType

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