Class RedisTlsProperties
java.lang.Object
se.swedenconnect.spring.saml.idp.autoconfigure.redis.RedisTlsProperties
- All Implemented Interfaces:
InitializingBean
@ConfigurationProperties(prefix="spring.data.redis.ssl-ext")
public class RedisTlsProperties
extends Object
implements InitializingBean
Spring Boot's Redis support does not enable us to configure SSL/TLS against the Redis server in a good way.
Therefore, we extend Spring's Redis configuration with this configuration properties class.
- Author:
- Martin Lindström, Felix Hellman
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidConfiguration for the KeyStore holding the Redis client SSL/TLS credential.getTrust()To configure a specific trust for SSL/TLS we can supply a trust KeyStore.
-
Constructor Details
-
RedisTlsProperties
public RedisTlsProperties()
-
-
Method Details
-
getCredential
@DeprecatedConfigurationProperty(reason="Use SslBundles instead") public RedisTlsProperties.KeyStoreConfiguration getCredential()Configuration for the KeyStore holding the Redis client SSL/TLS credential.- Returns:
- keystore configuration
-
getTrust
@DeprecatedConfigurationProperty(reason="Use SslBundles instead") public RedisTlsProperties.KeyStoreConfiguration getTrust()To configure a specific trust for SSL/TLS we can supply a trust KeyStore.- Returns:
- keystore configuration
-
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceInitializingBean- Throws:
IllegalArgumentException
-