Package io.strimzi.kafka.oauth.services
Class ValidatorKey.JwtValidatorKey
java.lang.Object
io.strimzi.kafka.oauth.services.ValidatorKey
io.strimzi.kafka.oauth.services.ValidatorKey.JwtValidatorKey
- Enclosing class:
- ValidatorKey
A
ValidatorKey for JWTSignatureValidator-
Nested Class Summary
Nested classes/interfaces inherited from class io.strimzi.kafka.oauth.services.ValidatorKey
ValidatorKey.IntrospectionValidatorKey, ValidatorKey.JwtValidatorKey -
Constructor Summary
ConstructorsConstructorDescriptionJwtValidatorKey(String clientId, String clientSecret, String bearerToken, String validIssuerUri, String audience, String customClaimCheck, String usernameClaim, String fallbackUsernameClaim, String fallbackUsernamePrefix, String groupQuery, String groupDelimiter, String sslTruststore, String sslStorePassword, String sslStoreType, String sslRandom, boolean hasHostnameVerifier, String jwksEndpointUri, int jwksRefreshSeconds, int jwksExpirySeconds, int jwksRefreshMinPauseSeconds, boolean jwksIgnoreKeyUse, boolean checkAccessTokenType, int connectTimeout, int readTimeout, boolean enableMetrics, boolean failFast, boolean includeAcceptHeader) Create a new instance. -
Method Summary
-
Constructor Details
-
JwtValidatorKey
public JwtValidatorKey(String clientId, String clientSecret, String bearerToken, String validIssuerUri, String audience, String customClaimCheck, String usernameClaim, String fallbackUsernameClaim, String fallbackUsernamePrefix, String groupQuery, String groupDelimiter, String sslTruststore, String sslStorePassword, String sslStoreType, String sslRandom, boolean hasHostnameVerifier, String jwksEndpointUri, int jwksRefreshSeconds, int jwksExpirySeconds, int jwksRefreshMinPauseSeconds, boolean jwksIgnoreKeyUse, boolean checkAccessTokenType, int connectTimeout, int readTimeout, boolean enableMetrics, boolean failFast, boolean includeAcceptHeader) Create a new instance. Arguments have to include all validator config options.- Parameters:
clientId- clientIdclientSecret- clientSecretbearerToken- bearerTokenvalidIssuerUri- validIssuerUriaudience- audiencecustomClaimCheck- customClaimCheckusernameClaim- usernameClaimfallbackUsernameClaim- fallbackUsernameClaimfallbackUsernamePrefix- fallbackUsernamePrefixgroupQuery- groupQuerygroupDelimiter- groupDelimitersslTruststore- sslTruststoresslStorePassword- sslStorePasswordsslStoreType- sslStoreTypesslRandom- sslRandomhasHostnameVerifier- hasHostnameVerifierjwksEndpointUri- jwksEndpointUrijwksRefreshSeconds- jwksRefreshSecondsjwksExpirySeconds- jwksExpirySecondsjwksRefreshMinPauseSeconds- jwksRefreshMinPauseSecondsjwksIgnoreKeyUse- jwksIgnoreKeyUsecheckAccessTokenType- checkAccessTokenTypeconnectTimeout- connectTimeoutreadTimeout- readTimeoutenableMetrics- enableMetricsfailFast- failFastincludeAcceptHeader- includeAcceptHeader
-
-
Method Details
-
equals
- Overrides:
equalsin classValidatorKey
-
hashCode
public int hashCode()- Overrides:
hashCodein classValidatorKey
-
getConfigIdHash
Description copied from class:ValidatorKeyGet the calculated configuration hash for this instance- Overrides:
getConfigIdHashin classValidatorKey- Returns:
- a hash string used to determine equality of two different configurations
-
toString
-