Interface HasTruststore
- All Superinterfaces:
IScopeProvider
- All Known Subinterfaces:
FtpFileSystemDelegator
- All Known Implementing Classes:
AbstractHttpSender, AbstractHttpSession, CmisHttpSender, CmisSender, CmisSessionBuilder, ExchangeFileSystem, FtpFileSystem, FtpFileSystemListener, FtpFileSystemSender, FtpSession, HttpSender, HttpSession, MsalClientAdapter, NetStorageSender, SendGridSender, WebServiceSender
marker interface with default behaviour to set values in the
TruststoreConfiguration object. The goal is to only support 'setTruststoreConfiguration'
in the future instead of all the ReferTo methods, but for now we want to support both ways of setting the keystore values.-
Method Summary
Modifier and TypeMethodDescriptiondefault TruststoreConfigurationcreates a new, emptyTruststoreConfigurationinstancedefault Stringdefault Stringdefault Stringdefault Stringdefault KeystoreTypedefault booleandefault booleandefault booleandefault voidsetAllowSelfSignedCertificates(boolean allowSelfSignedCertificates) default voidsetIgnoreCertificateExpiredException(boolean ignoreCertificateExpiredException) default voidsetTrustManagerAlgorithm(String trustManagerAlgorithm) default voidsetTruststore(String truststore) Resource url to truststore.default voidsetTruststoreAuthAlias(String truststoreAuthAlias) Authentication alias used to obtain truststore password.voidsetTruststoreConfiguration(TruststoreConfiguration truststoreConfiguration) default voidsetTruststorePassword(String truststorePassword) Default password to access truststore.default voidsetTruststoreType(KeystoreType truststoreType) Type of truststore.default voidsetVerifyHostname(boolean verifyHostname) Methods inherited from interface IScopeProvider
getConfigurationClassLoader
-
Method Details
-
createTruststoreConfiguration
creates a new, emptyTruststoreConfigurationinstance -
setTruststoreConfiguration
-
getTruststoreConfiguration
TruststoreConfiguration getTruststoreConfiguration() -
getTruststore
-
getTruststoreType
-
getTruststoreAuthAlias
-
getTruststorePassword
-
getTrustManagerAlgorithm
-
isVerifyHostname
default boolean isVerifyHostname() -
isAllowSelfSignedCertificates
default boolean isAllowSelfSignedCertificates() -
isIgnoreCertificateExpiredException
default boolean isIgnoreCertificateExpiredException() -
setTruststore
Resource url to truststore. If none specified, the JVMs default truststore will be used.- See Also:
-
setTruststoreType
-
setTruststoreAuthAlias
Authentication alias used to obtain truststore password. -
setTruststorePassword
Default password to access truststore. -
setTrustManagerAlgorithm
@ReferTo(TruststoreConfiguration.class) default void setTrustManagerAlgorithm(String trustManagerAlgorithm) -
setVerifyHostname
@ReferTo(TruststoreConfiguration.class) @Unsafe default void setVerifyHostname(boolean verifyHostname) -
setAllowSelfSignedCertificates
@ReferTo(TruststoreConfiguration.class) @Unsafe default void setAllowSelfSignedCertificates(boolean allowSelfSignedCertificates) -
setIgnoreCertificateExpiredException
@ReferTo(TruststoreConfiguration.class) @Unsafe default void setIgnoreCertificateExpiredException(boolean ignoreCertificateExpiredException)
-