public abstract class AbstractTokenValidator extends Object
Constructor and Description |
---|
AbstractTokenValidator() |
Modifier and Type | Method and Description |
---|---|
protected JweDecryptionProvider |
getInitializedDecryptionProvider(boolean jweOnly) |
protected JwsSignatureVerifier |
getInitializedSigVerifier(JwtToken jwt,
String idTokenKid) |
protected JwtToken |
getJwtToken(String wrappedJwtToken,
String clientId,
String idTokenKid,
boolean jweOnly) |
void |
setIssuedAtRange(int issuedAtRange) |
void |
setIssuerId(String issuerId) |
void |
setJweDecryptor(JweDecryptionProvider jweDecryptor) |
void |
setJweVerifier(JwsSignatureVerifier theJwsVerifier) |
void |
setJwkSetClient(WebClient jwkSetClient) |
protected void |
validateJwtClaims(JwtClaims claims,
String clientId,
boolean validateClaimsAlways) |
protected JwtToken |
validateToken(JwsJwtCompactConsumer consumer,
JwtToken jwt,
JwsSignatureVerifier jws) |
protected JwtToken getJwtToken(String wrappedJwtToken, String clientId, String idTokenKid, boolean jweOnly)
protected void validateJwtClaims(JwtClaims claims, String clientId, boolean validateClaimsAlways)
protected JwtToken validateToken(JwsJwtCompactConsumer consumer, JwtToken jwt, JwsSignatureVerifier jws)
public void setJweDecryptor(JweDecryptionProvider jweDecryptor)
public void setJweVerifier(JwsSignatureVerifier theJwsVerifier)
public void setIssuerId(String issuerId)
public void setJwkSetClient(WebClient jwkSetClient)
public void setIssuedAtRange(int issuedAtRange)
protected JweDecryptionProvider getInitializedDecryptionProvider(boolean jweOnly)
protected JwsSignatureVerifier getInitializedSigVerifier(JwtToken jwt, String idTokenKid)
Apache CXF