com.zznote.basecommon.common.config.satoken.IgnoreWhiteProperties Maven / Gradle / Ivy
The newest version!
package com.zznote.basecommon.common.config.satoken;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import java.util.ArrayList;
import java.util.List;
/**
* 放行白名单配置
*
* @author zhangzhen
*/
@Data
@NoArgsConstructor
@Configuration
@ConfigurationProperties(prefix = "sa-token.ignore")
public class IgnoreWhiteProperties {
/**
* 放行白名单配置,网关不校验此处的白名单
*/
private List whites = new ArrayList<>();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy