Class RedisProperties
java.lang.Object
eu.fraho.spring.securityJwt.redis.config.RedisProperties
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
@ConfigurationProperties(prefix="fraho.jwt.refresh.redis")
@Component
public class RedisProperties
extends Object
implements org.springframework.beans.factory.InitializingBean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgetHost()Hostname or IP Adress of redis serverredis.clients.jedis.JedisPoolConfiggetPort()Port of redis serverDefines a common prefix for all saved refresh entries.voidHostname or IP Adress of redis servervoidsetPoolConfig(redis.clients.jedis.JedisPoolConfig poolConfig) voidPort of redis servervoidDefines a common prefix for all saved refresh entries.
-
Constructor Details
-
RedisProperties
public RedisProperties()
-
-
Method Details
-
afterPropertiesSet
public void afterPropertiesSet()- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean
-
getPrefix
Defines a common prefix for all saved refresh entries. -
getHost
Hostname or IP Adress of redis server -
getPort
Port of redis server -
getPoolConfig
public redis.clients.jedis.JedisPoolConfig getPoolConfig() -
setPrefix
Defines a common prefix for all saved refresh entries. -
setHost
Hostname or IP Adress of redis server -
setPort
Port of redis server -
setPoolConfig
public void setPoolConfig(redis.clients.jedis.JedisPoolConfig poolConfig)
-