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

public javax.ws.rs.core.Response authorize()

authorizeDecision

@Path(value="/decision")
public javax.ws.rs.core.Response authorizeDecision()

authorizeDecisionForm

@Path(value="/decision")
public javax.ws.rs.core.Response authorizeDecisionForm()

Apache CXF API

Apache CXF