Class KafkaListenerAuthenticationOAuth
- java.lang.Object
-
- io.strimzi.api.kafka.model.listener.KafkaListenerAuthentication
-
- io.strimzi.api.kafka.model.listener.KafkaListenerAuthenticationOAuth
-
- All Implemented Interfaces:
UnknownPropertyPreserving,Serializable
public class KafkaListenerAuthenticationOAuth extends KafkaListenerAuthentication
Configures a listener to use OAuth authentication.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static intDEFAULT_JWKS_EXPIRY_SECONDSstatic intDEFAULT_JWKS_REFRESH_SECONDSstatic StringPRINCIPAL_BUILDER_CLASS_NAMEstatic StringTYPE_OAUTH
-
Constructor Summary
Constructors Constructor Description KafkaListenerAuthenticationOAuth()
-
Method Summary
-
Methods inherited from class io.strimzi.api.kafka.model.listener.KafkaListenerAuthentication
getAdditionalProperties, setAdditionalProperty
-
-
-
-
Field Detail
-
TYPE_OAUTH
public static final String TYPE_OAUTH
- See Also:
- Constant Field Values
-
DEFAULT_JWKS_EXPIRY_SECONDS
public static final int DEFAULT_JWKS_EXPIRY_SECONDS
- See Also:
- Constant Field Values
-
DEFAULT_JWKS_REFRESH_SECONDS
public static final int DEFAULT_JWKS_REFRESH_SECONDS
- See Also:
- Constant Field Values
-
PRINCIPAL_BUILDER_CLASS_NAME
public static final String PRINCIPAL_BUILDER_CLASS_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getType
public String getType()
- Specified by:
getTypein classKafkaListenerAuthentication
-
getClientId
public String getClientId()
-
setClientId
public void setClientId(String clientId)
-
getClientSecret
public GenericSecretSource getClientSecret()
-
setClientSecret
public void setClientSecret(GenericSecretSource clientSecret)
-
getValidIssuerUri
public String getValidIssuerUri()
-
setValidIssuerUri
public void setValidIssuerUri(String validIssuerUri)
-
isCheckIssuer
public boolean isCheckIssuer()
-
setCheckIssuer
public void setCheckIssuer(boolean checkIssuer)
-
isCheckAudience
public boolean isCheckAudience()
-
setCheckAudience
public void setCheckAudience(boolean checkAudience)
-
getCustomClaimCheck
public String getCustomClaimCheck()
-
setCustomClaimCheck
public void setCustomClaimCheck(String customClaimCheck)
-
getJwksEndpointUri
public String getJwksEndpointUri()
-
setJwksEndpointUri
public void setJwksEndpointUri(String jwksEndpointUri)
-
getJwksRefreshSeconds
public Integer getJwksRefreshSeconds()
-
setJwksRefreshSeconds
public void setJwksRefreshSeconds(Integer jwksRefreshSeconds)
-
getJwksMinRefreshPauseSeconds
public Integer getJwksMinRefreshPauseSeconds()
-
setJwksMinRefreshPauseSeconds
public void setJwksMinRefreshPauseSeconds(Integer jwksMinRefreshPauseSeconds)
-
getJwksExpirySeconds
public Integer getJwksExpirySeconds()
-
setJwksExpirySeconds
public void setJwksExpirySeconds(Integer jwksExpirySeconds)
-
getIntrospectionEndpointUri
public String getIntrospectionEndpointUri()
-
setIntrospectionEndpointUri
public void setIntrospectionEndpointUri(String introspectionEndpointUri)
-
getUserNameClaim
public String getUserNameClaim()
-
setUserNameClaim
public void setUserNameClaim(String userNameClaim)
-
getFallbackUserNameClaim
public String getFallbackUserNameClaim()
-
setFallbackUserNameClaim
public void setFallbackUserNameClaim(String fallbackUserNameClaim)
-
getFallbackUserNamePrefix
public String getFallbackUserNamePrefix()
-
setFallbackUserNamePrefix
public void setFallbackUserNamePrefix(String fallbackUserNamePrefix)
-
isCheckAccessTokenType
public boolean isCheckAccessTokenType()
-
setCheckAccessTokenType
public void setCheckAccessTokenType(boolean checkAccessTokenType)
-
getValidTokenType
public String getValidTokenType()
-
setValidTokenType
public void setValidTokenType(String validTokenType)
-
isAccessTokenIsJwt
public boolean isAccessTokenIsJwt()
-
setAccessTokenIsJwt
public void setAccessTokenIsJwt(boolean accessTokenIsJwt)
-
getTlsTrustedCertificates
public List<CertSecretSource> getTlsTrustedCertificates()
-
setTlsTrustedCertificates
public void setTlsTrustedCertificates(List<CertSecretSource> tlsTrustedCertificates)
-
isDisableTlsHostnameVerification
public boolean isDisableTlsHostnameVerification()
-
setDisableTlsHostnameVerification
public void setDisableTlsHostnameVerification(boolean disableTlsHostnameVerification)
-
isEnableECDSA
public boolean isEnableECDSA()
-
setEnableECDSA
public void setEnableECDSA(boolean enableECDSA)
-
getUserInfoEndpointUri
public String getUserInfoEndpointUri()
-
setUserInfoEndpointUri
public void setUserInfoEndpointUri(String userInfoEndpointUri)
-
getMaxSecondsWithoutReauthentication
public Integer getMaxSecondsWithoutReauthentication()
-
setMaxSecondsWithoutReauthentication
public void setMaxSecondsWithoutReauthentication(Integer maxSecondsWithoutReauthentication)
-
isEnableOauthBearer
public boolean isEnableOauthBearer()
-
setEnableOauthBearer
public void setEnableOauthBearer(boolean enableOauthBearer)
-
isEnablePlain
public boolean isEnablePlain()
-
setEnablePlain
public void setEnablePlain(boolean enablePlain)
-
getTokenEndpointUri
public String getTokenEndpointUri()
-
setTokenEndpointUri
public void setTokenEndpointUri(String tokenEndpointUri)
-
-