@Path(value="authorize") public class AuthorizationService extends Object
Constructor and Description |
---|
AuthorizationService() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
authorize(String responseType) |
javax.ws.rs.core.Response |
authorizeDecision(String responseType) |
javax.ws.rs.core.Response |
authorizeDecisionForm(javax.ws.rs.core.MultivaluedMap<String,String> params)
Processes the end user decision
|
javax.ws.rs.core.Response |
authorizePost(javax.ws.rs.core.MultivaluedMap<String,String> params) |
protected javax.ws.rs.core.Response |
reportInvalidResponseType() |
void |
setMessageContext(MessageContext context) |
void |
setServices(List<RedirectionBasedGrantService> services) |
@Context public void setMessageContext(MessageContext context)
@GET @Produces(value={"application/xhtml+xml","text/html","application/xml","application/json"}) public javax.ws.rs.core.Response authorize(@QueryParam(value="response_type") String responseType)
@POST @Consumes(value="application/x-www-form-urlencoded") @Produces(value={"application/xhtml+xml","text/html","application/xml","application/json"}) public javax.ws.rs.core.Response authorizePost(javax.ws.rs.core.MultivaluedMap<String,String> params)
@GET @Path(value="/decision") public javax.ws.rs.core.Response authorizeDecision(@QueryParam(value="response_type") String responseType)
@POST @Path(value="/decision") @Consumes(value="application/x-www-form-urlencoded") public javax.ws.rs.core.Response authorizeDecisionForm(javax.ws.rs.core.MultivaluedMap<String,String> params)
public void setServices(List<RedirectionBasedGrantService> services)
protected javax.ws.rs.core.Response reportInvalidResponseType()
Apache CXF