If this rule is used to integrate springboot in shiro, static resources under static will also be intercepted:filterMap.put("/**", "perms[user:root]");
So how to solve it?
First go to my static directory structure:
Next, I need to release these resources .
filterMap.put("/bootstrap/**","anon");
filterMap.put("/markdown/**","anon");
filterMap.put("/MyStyle/**","anon");
filterMap.put("/**", "perms[user:root]");
Just add the above filtering rules!
It means: all resources under bootstrap/markdown/MyStyle are set to anon: you can access without authentication (login)!