Class AuthorizationService
java.lang.Object
org.apache.cxf.rs.security.oauth2.services.AuthorizationService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Responsejakarta.ws.rs.core.ResponseauthorizeDecision(String responseType) jakarta.ws.rs.core.ResponseauthorizeDecisionForm(jakarta.ws.rs.core.MultivaluedMap<String, String> params) Processes the end user decisionjakarta.ws.rs.core.ResponseauthorizePost(jakarta.ws.rs.core.MultivaluedMap<String, String> params) protected jakarta.ws.rs.core.ResponsevoidsetMessageContext(MessageContext context) voidsetServices(List<RedirectionBasedGrantService> services)
-
Constructor Details
-
AuthorizationService
public AuthorizationService()
-
-
Method Details
-
setMessageContext
-
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
-
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
-
reportInvalidResponseType
protected jakarta.ws.rs.core.Response reportInvalidResponseType()
-