org.apache.cxf.rs.security.oauth.services
Class RequestTokenHandler
java.lang.Object
org.apache.cxf.rs.security.oauth.services.RequestTokenHandler
public class RequestTokenHandler
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RequestTokenHandler
public RequestTokenHandler()
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