Apache CXF API

org.apache.cxf.rs.security.oauth2.services
Class AbstractAccessTokenValidator

java.lang.Object
  extended by org.apache.cxf.rs.security.oauth2.services.AbstractAccessTokenValidator
Direct Known Subclasses:
AccessTokenValidatorService, OAuthRequestFilter

public abstract class AbstractAccessTokenValidator
extends Object


Field Summary
protected  String realm
           
protected  Set<String> supportedSchemes
           
 
Constructor Summary
AbstractAccessTokenValidator()
           
 
Method Summary
protected  AccessTokenValidator findTokenValidator(String authScheme)
           
protected  AccessTokenValidation getAccessTokenValidation(String authScheme, String authSchemeData)
          Get the access token
 List<String> getAudiences()
           
 MessageContext getMessageContext()
           
 void setAudiences(List<String> audiences)
           
 void setDataProvider(OAuthDataProvider provider)
           
 void setMessageContext(MessageContext context)
           
 void setRealm(String realm)
           
 void setTokenValidator(AccessTokenValidator validator)
           
 void setTokenValidators(List<AccessTokenValidator> validators)
           
protected  boolean validateAudience(String audience)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

supportedSchemes

protected Set<String> supportedSchemes

realm

protected String realm
Constructor Detail

AbstractAccessTokenValidator

public AbstractAccessTokenValidator()
Method Detail

setTokenValidator

public void setTokenValidator(AccessTokenValidator validator)

setTokenValidators

public void setTokenValidators(List<AccessTokenValidator> validators)

setDataProvider

public void setDataProvider(OAuthDataProvider provider)

setMessageContext

@Context
public void setMessageContext(MessageContext context)

getMessageContext

public MessageContext getMessageContext()

findTokenValidator

protected AccessTokenValidator findTokenValidator(String authScheme)

getAccessTokenValidation

protected AccessTokenValidation getAccessTokenValidation(String authScheme,
                                                         String authSchemeData)
Get the access token


validateAudience

protected boolean validateAudience(String audience)

setRealm

public void setRealm(String realm)

getAudiences

public List<String> getAudiences()

setAudiences

public void setAudiences(List<String> audiences)

Apache CXF API

Apache CXF