public abstract class AbstractAccessTokenValidator extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
realm |
protected Set<String> |
supportedSchemes |
Constructor and Description |
---|
AbstractAccessTokenValidator() |
Modifier and Type | Method and Description |
---|---|
protected AccessTokenValidator |
findTokenValidator(String authScheme) |
protected AccessTokenValidation |
getAccessTokenValidation(String authScheme,
String authSchemeData,
javax.ws.rs.core.MultivaluedMap<String,String> extraProps)
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) |
public void setTokenValidator(AccessTokenValidator validator)
public void setTokenValidators(List<AccessTokenValidator> validators)
public void setDataProvider(OAuthDataProvider provider)
@Context public void setMessageContext(MessageContext context)
public MessageContext getMessageContext()
protected AccessTokenValidator findTokenValidator(String authScheme)
protected AccessTokenValidation getAccessTokenValidation(String authScheme, String authSchemeData, javax.ws.rs.core.MultivaluedMap<String,String> extraProps)
protected boolean validateAudience(String audience)
public void setRealm(String realm)
Apache CXF