Apache CXF API

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

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

public class RequestTokenHandler
extends Object


Constructor Summary
RequestTokenHandler()
           
 
Method Summary
 javax.ws.rs.core.Response handle(MessageContext mc, OAuthDataProvider dataProvider, net.oauth.OAuthValidator validator)
           
 void setDefaultScope(String defaultScope)
           
 void setTokenLifetime(long tokenLifetime)
           
protected  void validateCallbackURL(Client client, String oauthCallback)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestTokenHandler

public RequestTokenHandler()
Method Detail

handle

public javax.ws.rs.core.Response handle(MessageContext mc,
                                        OAuthDataProvider dataProvider,
                                        net.oauth.OAuthValidator validator)

validateCallbackURL

protected void validateCallbackURL(Client client,
                                   String oauthCallback)
                            throws net.oauth.OAuthProblemException
Throws:
net.oauth.OAuthProblemException

setTokenLifetime

public void setTokenLifetime(long tokenLifetime)

setDefaultScope

public void setDefaultScope(String defaultScope)

Apache CXF API

Apache CXF