All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.bootx.platform.starter.auth.redis.SaTokenRedisProperties Maven / Gradle / Ivy

There is a newer version: 1.3.6.2
Show newest version
package cn.bootx.platform.starter.auth.redis;

import org.springframework.boot.autoconfigure.data.redis.RedisProperties;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * sa-token Redis 插件配置
 *
 * @author xxm
 * @since 2021/8/2
 */
@ConfigurationProperties(prefix = "sa-token.plugins.redis")
public class SaTokenRedisProperties {

    /**
     * 是否开启独立redis配置
     */
    private boolean alone;

    /**
     * 独立redis配置
     */
    private RedisProperties aloneRedis;

    public boolean isAlone() {
        return alone;
    }

    public void setAlone(boolean alone) {
        this.alone = alone;
    }

    public RedisProperties getAloneRedis() {
        return aloneRedis;
    }

    public void setAloneRedis(RedisProperties aloneRedis) {
        this.aloneRedis = aloneRedis;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy