
io.github.wslxm.springbootplus2.properties.SecureProperties Maven / Gradle / Ivy
package io.github.wslxm.springbootplus2.properties;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import java.util.List;
/**
* auth 安全验证的相关参数配置
* @author 王松
* @mail [email protected]
* @date 2024/8/1 10:01
*/
@Configuration
@ConfigurationProperties(prefix = "secure")
@Data
public class SecureProperties {
/**
* 接口放行 token, 可跳过登录访问接口, 如接口中存在需要获取用户信息的接口,则返回需要登录错误
*/
private List tokens;
/**
* 系统用户的密码盐
*/
private String pwdSalt;
/**
* 接口加签配置
*/
private SecureSignProperties sign;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy