Package io.quarkus.oidc.common.runtime
Class OidcCommonConfig.Tls
- java.lang.Object
-
- io.quarkus.oidc.common.runtime.OidcCommonConfig.Tls
-
- Enclosing class:
- OidcCommonConfig
public static class OidcCommonConfig.Tls extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOidcCommonConfig.Tls.Verification
-
Field Summary
Fields Modifier and Type Field Description Optional<Path>keyStoreFileAn optional keystore which holds the certificate information instead of specifying separate files.Optional<String>keyStoreFileTypeAn optional parameter to specify type of the keystore file.Optional<String>keyStoreKeyAliasAn optional parameter to select a specific key in the keystore.Optional<String>keyStoreKeyPasswordAn optional parameter to define the password for the key, in case it's different fromkeyStorePassword.Optional<String>keyStorePasswordA parameter to specify the password of the keystore file.Optional<String>keyStoreProviderAn optional parameter to specify a provider of the keystore file.Optional<String>trustStoreCertAliasA parameter to specify the alias of the truststore certificate.Optional<Path>trustStoreFileAn optional truststore which holds the certificate information of the certificates to trustOptional<String>trustStoreFileTypeAn optional parameter to specify type of the truststore file.Optional<String>trustStorePasswordA parameter to specify the password of the truststore file.Optional<String>trustStoreProviderAn optional parameter to specify a provider of the truststore file.Optional<OidcCommonConfig.Tls.Verification>verificationCertificate validation and hostname verification, which can be one of the followingOidcCommonConfig.Tls.Verificationvalues.
-
Constructor Summary
Constructors Constructor Description Tls()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<String>getKeyStoreProvider()Optional<String>getTrustStoreCertAlias()Optional<Path>getTrustStoreFile()Optional<String>getTrustStorePassword()Optional<String>getTrustStoreProvider()Optional<OidcCommonConfig.Tls.Verification>getVerification()voidsetKeyStoreProvider(String keyStoreProvider)voidsetTrustStoreCertAlias(String trustStoreCertAlias)voidsetTrustStoreFile(Path trustStoreFile)voidsetTrustStorePassword(String trustStorePassword)voidsetTrustStoreProvider(String trustStoreProvider)voidsetVerification(OidcCommonConfig.Tls.Verification verification)
-
-
-
Field Detail
-
verification
@ConfigItem public Optional<OidcCommonConfig.Tls.Verification> verification
Certificate validation and hostname verification, which can be one of the followingOidcCommonConfig.Tls.Verificationvalues. Default is required.
-
keyStoreFile
@ConfigItem public Optional<Path> keyStoreFile
An optional keystore which holds the certificate information instead of specifying separate files.
-
keyStoreFileType
@ConfigItem public Optional<String> keyStoreFileType
An optional parameter to specify type of the keystore file. If not given, the type is automatically detected based on the file name.
-
keyStoreProvider
@ConfigItem public Optional<String> keyStoreProvider
An optional parameter to specify a provider of the keystore file. If not given, the provider is automatically detected based on the keystore file type.
-
keyStorePassword
@ConfigItem public Optional<String> keyStorePassword
A parameter to specify the password of the keystore file. If not given, the default ("password") is used.
-
keyStoreKeyAlias
@ConfigItem public Optional<String> keyStoreKeyAlias
An optional parameter to select a specific key in the keystore. When SNI is disabled, if the keystore contains multiple keys and no alias is specified, the behavior is undefined.
-
keyStoreKeyPassword
@ConfigItem public Optional<String> keyStoreKeyPassword
An optional parameter to define the password for the key, in case it's different fromkeyStorePassword.
-
trustStoreFile
@ConfigItem public Optional<Path> trustStoreFile
An optional truststore which holds the certificate information of the certificates to trust
-
trustStorePassword
@ConfigItem public Optional<String> trustStorePassword
A parameter to specify the password of the truststore file.
-
trustStoreCertAlias
@ConfigItem public Optional<String> trustStoreCertAlias
A parameter to specify the alias of the truststore certificate.
-
trustStoreFileType
@ConfigItem public Optional<String> trustStoreFileType
An optional parameter to specify type of the truststore file. If not given, the type is automatically detected based on the file name.
-
trustStoreProvider
@ConfigItem public Optional<String> trustStoreProvider
An optional parameter to specify a provider of the truststore file. If not given, the provider is automatically detected based on the truststore file type.
-
-
Method Detail
-
getVerification
public Optional<OidcCommonConfig.Tls.Verification> getVerification()
-
setVerification
public void setVerification(OidcCommonConfig.Tls.Verification verification)
-
setTrustStoreFile
public void setTrustStoreFile(Path trustStoreFile)
-
setTrustStorePassword
public void setTrustStorePassword(String trustStorePassword)
-
setTrustStoreCertAlias
public void setTrustStoreCertAlias(String trustStoreCertAlias)
-
setKeyStoreProvider
public void setKeyStoreProvider(String keyStoreProvider)
-
setTrustStoreProvider
public void setTrustStoreProvider(String trustStoreProvider)
-
-