Commit c3d647ea authored by xiaozhe.chen's avatar xiaozhe.chen

打开token验证

parent 18f309ca
...@@ -30,8 +30,8 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter { ...@@ -30,8 +30,8 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
@Override @Override
protected void configure(HttpSecurity http) throws Exception { protected void configure(HttpSecurity http) throws Exception {
String allowedRoutes = "/test/**,/error/**,/user/**"; //String allowedRoutes = "/test/**,/error/**,/user/**";
//String allowedRoutes = "/test/**,/error/**"; String allowedRoutes = "/test/**,/error/**";
String[] allowedRoutesArr = allowedRoutes.split(","); String[] allowedRoutesArr = allowedRoutes.split(",");
http http
.authorizeRequests() .authorizeRequests()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment