public abstract class AbstractHawkAccessTokenValidator extends Object implements AccessTokenValidator
Modifier and Type | Field and Description |
---|---|
protected static String |
HTTP_URI |
protected static String |
HTTP_VERB |
Constructor and Description |
---|
AbstractHawkAccessTokenValidator() |
Modifier and Type | Method and Description |
---|---|
protected abstract AccessTokenValidation |
getAccessTokenValidation(MessageContext mc,
String authScheme,
String authSchemeData,
javax.ws.rs.core.MultivaluedMap<String,String> extraProps,
Map<String,String> schemeParams) |
protected static Map<String,String> |
getSchemeParameters(String authData) |
List<String> |
getSupportedAuthorizationSchemes() |
boolean |
isRemoteSignatureValidation() |
void |
setNonceVerifier(NonceVerifier nonceVerifier) |
void |
setRemoteSignatureValidation(boolean remoteSignatureValidation) |
AccessTokenValidation |
validateAccessToken(MessageContext mc,
String authScheme,
String authSchemeData,
javax.ws.rs.core.MultivaluedMap<String,String> extraProps) |
protected void |
validateTimestampNonce(String tokenKey,
String ts,
String nonce) |
protected static final String HTTP_VERB
protected static final String HTTP_URI
public List<String> getSupportedAuthorizationSchemes()
getSupportedAuthorizationSchemes
in interface AccessTokenValidator
public AccessTokenValidation validateAccessToken(MessageContext mc, String authScheme, String authSchemeData, javax.ws.rs.core.MultivaluedMap<String,String> extraProps) throws OAuthServiceException
validateAccessToken
in interface AccessTokenValidator
OAuthServiceException
protected abstract AccessTokenValidation getAccessTokenValidation(MessageContext mc, String authScheme, String authSchemeData, javax.ws.rs.core.MultivaluedMap<String,String> extraProps, Map<String,String> schemeParams)
protected void validateTimestampNonce(String tokenKey, String ts, String nonce)
public void setNonceVerifier(NonceVerifier nonceVerifier)
public boolean isRemoteSignatureValidation()
public void setRemoteSignatureValidation(boolean remoteSignatureValidation)
Apache CXF