public class OidcClaimsValidator
extends org.apache.cxf.rs.security.oauth2.provider.OAuthJoseJwtConsumer
| Constructor and Description |
|---|
OidcClaimsValidator() |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.cxf.rs.security.jose.jws.JwsSignatureVerifier |
getInitializedSignatureVerifier(org.apache.cxf.rs.security.jose.jwt.JwtToken jwt) |
void |
setIssuerId(String issuerId) |
void |
setJwkSetClient(org.apache.cxf.jaxrs.client.WebClient jwkSetClient) |
void |
setStrictTimeValidation(boolean strictTimeValidation) |
void |
setSupportSelfIssuedProvider(boolean supportSelfIssuedProvider) |
void |
validateJwtClaims(org.apache.cxf.rs.security.jose.jwt.JwtClaims claims,
String clientId,
boolean validateClaimsAlways)
Validate core JWT claims
|
getInitializedDecryptionProvider, getInitializedSignatureVerifier, getJwtToken, isDecryptWithClientSecret, isVerifyWithClientSecret, setDecryptWithClientSecret, setVerifyWithClientSecretgetClockOffset, getJwtToken, getJwtToken, getTtl, setClockOffset, setTtl, validateTokencheckProcessRequirements, getInitializedDecryptionProvider, getInitializedSignatureVerifier, getJweDecryptor, getJwsVerifier, isJweRequired, isJwsRequired, setJweDecryptor, setJweRequired, setJwsRequired, setJwsVerifierpublic void validateJwtClaims(org.apache.cxf.rs.security.jose.jwt.JwtClaims claims,
String clientId,
boolean validateClaimsAlways)
claims - the claimsclientId - OAuth2 client idvalidateClaimsAlways - if set to true then enforce that the claims
to be validated must be setpublic void setIssuerId(String issuerId)
public void setJwkSetClient(org.apache.cxf.jaxrs.client.WebClient jwkSetClient)
protected org.apache.cxf.rs.security.jose.jws.JwsSignatureVerifier getInitializedSignatureVerifier(org.apache.cxf.rs.security.jose.jwt.JwtToken jwt)
getInitializedSignatureVerifier in class org.apache.cxf.rs.security.jose.jwt.JoseJwtConsumerpublic void setSupportSelfIssuedProvider(boolean supportSelfIssuedProvider)
public void setStrictTimeValidation(boolean strictTimeValidation)
Apache CXF