org.apache.cxf.rs.security.oauth2.services
Class AbstractAccessTokenValidator
java.lang.Object
org.apache.cxf.rs.security.oauth2.services.AbstractAccessTokenValidator
- Direct Known Subclasses:
- AccessTokenValidatorService, OAuthRequestFilter
public abstract class AbstractAccessTokenValidator
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
supportedSchemes
protected Set<String> supportedSchemes
realm
protected String realm
AbstractAccessTokenValidator
public AbstractAccessTokenValidator()
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