public class OidcClaimsValidator extends OAuthJoseJwtConsumer
Constructor and Description |
---|
OidcClaimsValidator() |
Modifier and Type | Method and Description |
---|---|
protected JwsSignatureVerifier |
getInitializedSignatureVerifier(JwtToken jwt) |
void |
setIssuerId(String issuerId) |
void |
setJwkSetClient(WebClient jwkSetClient) |
void |
setStrictTimeValidation(boolean strictTimeValidation) |
void |
setSupportSelfIssuedProvider(boolean supportSelfIssuedProvider) |
void |
validateJwtClaims(JwtClaims claims,
String clientId,
boolean validateClaimsAlways)
Validate core JWT claims
|
getInitializedDecryptionProvider, getInitializedSignatureVerifier, getJwtToken, isDecryptWithClientSecret, isVerifyWithClientSecret, setDecryptWithClientSecret, setVerifyWithClientSecret
getClockOffset, getJwtToken, getJwtToken, getTtl, setClockOffset, setTtl, validateToken
checkProcessRequirements, getInitializedDecryptionProvider, getInitializedSignatureVerifier, getJweDecryptor, getJwsVerifier, isJweRequired, isJwsRequired, setJweDecryptor, setJweRequired, setJwsRequired, setJwsVerifier
public void validateJwtClaims(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(WebClient jwkSetClient)
protected JwsSignatureVerifier getInitializedSignatureVerifier(JwtToken jwt)
getInitializedSignatureVerifier
in class JoseJwtConsumer
public void setSupportSelfIssuedProvider(boolean supportSelfIssuedProvider)
public void setStrictTimeValidation(boolean strictTimeValidation)
Apache CXF