package com.macro.mall.security.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.ArrayList;
import java.util.List;

/**
 * 用于配置白名单资源路径
 * Created by macro on 2018/11/5.
 */
@Getter
@Setter
@ConfigurationProperties(prefix = "secure.ignored")
public class IgnoreUrlsConfig {

    private List<String> urls = new ArrayList<>();

}

@@ -218,19 +218,31 @@
 %0A * 
-%E7%94%A8%E4%BA%8E%E9%85%8D%E7%BD%AE
+SpringSecurity
 %E7%99%BD%E5%90%8D%E5%8D%95%E8%B5%84%E6%BA%90%E8%B7%AF%E5%BE%84
+%E9%85%8D%E7%BD%AE
 %0A * 

Update IgnoreUrlsConfig.java