SpringBoot configuration Shiro, after customizing Filter, setting anon is still not open

paste the code first. Anyone who has used shiro should be able to see what I am doing here. Now the problem comes

.
@Bean("shiroFilter")
public ShiroFilterFactoryBean shiroFilter(SecurityManager securityManager,UserService userService){
    ShiroFilterFactoryBean factoryBean = new ShiroFilterFactoryBean();
    Map<String,Filter> filterMap = new LinkedHashMap<>();
    filterMap.put("jwt",createJWTFiter(userService));
    factoryBean.setFilters(filterMap);
    factoryBean.setSecurityManager(securityManager);
    
    Map<String, String> filterChainDefinitionMap = new LinkedHashMap<>();
    filterChainDefinitionMap.put("/resources/**","anon");
    filterChainDefinitionMap.put("/static/**", "anon");
    filterChainDefinitionMap.put("/**", "jwt");
    
    factoryBean.setFilterChainDefinitionMap(filterChainDefinitionMap);

}

here I have configured my own filter, called jwt, and opened the resources of the static file under resoucres (actually, it doesn"t matter if I don"t need to open resources, anyway, the result is the same). After I allow the project, in theory, access to the resources under static should be accessible, but it is blocked

.

clipboard.png

The information returned by

is shown in the figure. What to do? try to solve the problem

.
Jan.20,2022

you have to ask yourself


you can debug to see how the program works and whether it works as expected.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b34c5a-4eba5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b34c5a-4eba5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?