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
|
JoseJwtConsumer |
getJwtTokenConsumer() |
MessageContext |
getMessageContext() |
boolean |
isPersistJwtEncoding() |
protected void |
removeAccessToken(ServerAccessToken at) |
void |
setDataProvider(OAuthDataProvider provider) |
void |
setJwtTokenConsumer(JoseJwtConsumer jwtTokenConsumer) |
void |
setMaxValidationDataCacheSize(int maxValidationDataCacheSize) |
void |
setMessageContext(MessageContext context) |
void |
setPersistJwtEncoding(boolean persistJwtEncoding) |
void |
setRealm(String realm) |
void |
setTokenValidator(AccessTokenValidator validator) |
void |
setTokenValidators(List<AccessTokenValidator> validators) |
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 void removeAccessToken(ServerAccessToken at)
public void setRealm(String realm)
public void setMaxValidationDataCacheSize(int maxValidationDataCacheSize)
public JoseJwtConsumer getJwtTokenConsumer()
public void setJwtTokenConsumer(JoseJwtConsumer jwtTokenConsumer)
public boolean isPersistJwtEncoding()
public void setPersistJwtEncoding(boolean persistJwtEncoding)
Apache CXF