Home > Back-end >  [urgent], questions about springsecurity role (hasRole), save the children
[urgent], questions about springsecurity role (hasRole), save the children

Time:05-05


Problem, see a lot of things on the diagram and didn't find the answer

CodePudding user response:


Out came,. AntMatchers (" test/adminRole "). HasRole (" ADMIN ") in this code, don't add "/" in front of the
Should be. AntMatchers ("/test/adminRole "). HasRole (" ADMIN ") to;
============================================
Everybody come in have to do is smile, don't take the