Class JwtAccessTokenValidator
- java.lang.Object
-
- org.apache.cxf.rs.security.jose.common.AbstractJoseConsumer
-
- org.apache.cxf.rs.security.jose.jwt.JoseJwtConsumer
-
- org.apache.cxf.rs.security.oauth2.filters.JwtAccessTokenValidator
-
- All Implemented Interfaces:
AccessTokenValidator
- Direct Known Subclasses:
JwsJwksJwtAccessTokenValidator
public class JwtAccessTokenValidator extends JoseJwtConsumer implements AccessTokenValidator
-
-
Constructor Summary
Constructors Constructor Description JwtAccessTokenValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>getSupportedAuthorizationSchemes()voidsetJwtAccessTokenClaimMap(Map<String,String> jwtAccessTokenClaimMap)AccessTokenValidationvalidateAccessToken(MessageContext mc, String authScheme, String authSchemeData, javax.ws.rs.core.MultivaluedMap<String,String> extraProps)-
Methods inherited from class org.apache.cxf.rs.security.jose.jwt.JoseJwtConsumer
getClockOffset, getInitializedSignatureVerifier, getJwtToken, getJwtToken, getTtl, setClockOffset, setTtl, validateToken
-
Methods inherited from class org.apache.cxf.rs.security.jose.common.AbstractJoseConsumer
checkProcessRequirements, getInitializedDecryptionProvider, getInitializedSignatureVerifier, getJweDecryptor, getJwsVerifier, isJweRequired, isJwsRequired, setJweDecryptor, setJweRequired, setJwsRequired, setJwsVerifier
-
-
-
-
Method Detail
-
getSupportedAuthorizationSchemes
public List<String> getSupportedAuthorizationSchemes()
- Specified by:
getSupportedAuthorizationSchemesin interfaceAccessTokenValidator
-
validateAccessToken
public AccessTokenValidation validateAccessToken(MessageContext mc, String authScheme, String authSchemeData, javax.ws.rs.core.MultivaluedMap<String,String> extraProps) throws OAuthServiceException
- Specified by:
validateAccessTokenin interfaceAccessTokenValidator- Throws:
OAuthServiceException
-
-