Apache CXF API

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

java.lang.Object
  extended by org.apache.cxf.rs.security.oauth.services.AbstractOAuthService
Direct Known Subclasses:
AccessTokenService, AuthorizationRequestService, RequestTokenService

public abstract class AbstractOAuthService
extends Object

Abstract utility class which OAuth services extend


Constructor Summary
AbstractOAuthService()
           
 
Method Summary
protected  OAuthDataProvider getDataProvider()
           
 MessageContext getMessageContext()
           
 net.oauth.OAuthValidator getValidator()
           
 void setDataProvider(OAuthDataProvider dataProvider)
           
 void setMessageContext(MessageContext context)
           
 void setValidator(net.oauth.OAuthValidator validator)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractOAuthService

public AbstractOAuthService()
Method Detail

setMessageContext

@Context
public void setMessageContext(MessageContext context)

getMessageContext

public MessageContext getMessageContext()

setDataProvider

public void setDataProvider(OAuthDataProvider dataProvider)

getDataProvider

protected OAuthDataProvider getDataProvider()

getValidator

public net.oauth.OAuthValidator getValidator()

setValidator

public void setValidator(net.oauth.OAuthValidator validator)

Apache CXF API

Apache CXF