Apache CXF API

org.apache.cxf.rs.security.oauth.services
Class AuthorizationRequestService

java.lang.Object
  extended by org.apache.cxf.rs.security.oauth.services.AbstractOAuthService
      extended by org.apache.cxf.rs.security.oauth.services.AuthorizationRequestService

@Path(value="/authorize")
public class AuthorizationRequestService
extends AbstractOAuthService

This resource handles the End User authorising or denying the Client to access its resources. If End User approves the access this resource will redirect End User back to the Client, supplying a request token verifier (aka authorization code)


Constructor Summary
AuthorizationRequestService()
           
 
Method Summary
 javax.ws.rs.core.Response authorize()
           
 javax.ws.rs.core.Response authorizeDecision()
           
 javax.ws.rs.core.Response authorizeDecisionForm()
           
 void setAuthorizationRequestHandler(AuthorizationRequestHandler h)
           
 
Methods inherited from class org.apache.cxf.rs.security.oauth.services.AbstractOAuthService
getDataProvider, getMessageContext, getValidator, setDataProvider, setMessageContext, setValidator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthorizationRequestService

public AuthorizationRequestService()
Method Detail

setAuthorizationRequestHandler

public void setAuthorizationRequestHandler(AuthorizationRequestHandler h)

authorize

@GET
@Produces(value={"application/xhtml+xml","text/html","application/xml","application/json"})
public javax.ws.rs.core.Response authorize()

authorizeDecision

@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()

authorizeDecisionForm

@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 API

Apache CXF