@Path(value="/authorize") public class AuthorizationRequestService extends AbstractOAuthService
Constructor and Description |
---|
AuthorizationRequestService() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
authorize() |
javax.ws.rs.core.Response |
authorizeDecision() |
javax.ws.rs.core.Response |
authorizeDecisionForm() |
void |
setAuthorizationRequestHandler(AuthorizationRequestHandler h) |
getDataProvider, getMessageContext, getValidator, setDataProvider, setMessageContext, setValidator
public void setAuthorizationRequestHandler(AuthorizationRequestHandler h)
@GET @Produces(value={"application/xhtml+xml","text/html","application/xml","application/json"}) public javax.ws.rs.core.Response authorize()
@GET @Path(value="/decision") @Produces(value={"application/xhtml+xml","text/html","application/xml;qs=0.9","application/json;qs=0.9","application/x-www-form-urlencoded"}) public javax.ws.rs.core.Response authorizeDecision()
@POST @Path(value="/decision") @Consumes(value="application/x-www-form-urlencoded") @Produces(value={"application/xhtml+xml","text/html","application/xml;qs=0.9","application/json;qs=0.9","application/x-www-form-urlencoded"}) public javax.ws.rs.core.Response authorizeDecisionForm()
Apache CXF