Class JwsJwksJwtAccessTokenValidator
- 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
-
- org.apache.cxf.rs.security.oauth2.filters.JwsJwksJwtAccessTokenValidator
-
- All Implemented Interfaces:
AccessTokenValidator
public class JwsJwksJwtAccessTokenValidator extends JwtAccessTokenValidator
Validate Access Token signature using JWK Set fromAuthorizationMetadata.getJwksURL()according toJoseHeaders.getKeyId()
-
-
Constructor Summary
Constructors Constructor Description JwsJwksJwtAccessTokenValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected JwsSignatureVerifiergetInitializedSignatureVerifier(JwsHeaders jwsHeaders)voidsetJwksURL(String jwksURL)voidsetJwsVerifier(JwsSignatureVerifier theJwsVerifier)-
Methods inherited from class org.apache.cxf.rs.security.oauth2.filters.JwtAccessTokenValidator
getSupportedAuthorizationSchemes, setJwtAccessTokenClaimMap, validateAccessToken
-
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, getJweDecryptor, getJwsVerifier, isJweRequired, isJwsRequired, setJweDecryptor, setJweRequired, setJwsRequired
-
-
-
-
Method Detail
-
getInitializedSignatureVerifier
protected JwsSignatureVerifier getInitializedSignatureVerifier(JwsHeaders jwsHeaders)
- Overrides:
getInitializedSignatureVerifierin classAbstractJoseConsumer
-
setJwksURL
public void setJwksURL(String jwksURL)
-
setJwsVerifier
public void setJwsVerifier(JwsSignatureVerifier theJwsVerifier)
- Overrides:
setJwsVerifierin classAbstractJoseConsumer
-
-