http
.authorizeRequests()
.antMatchers(“/admin/“).hasRole(“ADMIN”)
.antMatchers(“/employee/“).hasRole(“EMPLOYEE”)
.anyRequest().authenticated();
利唐i人事HR社区,发布者:ihreditor,转转请注明出处:https://www.ihr360.com/hrnews/20241236101.html
http
.authorizeRequests()
.antMatchers(“/admin/“).hasRole(“ADMIN”)
.antMatchers(“/employee/“).hasRole(“EMPLOYEE”)
.anyRequest().authenticated();
利唐i人事HR社区,发布者:ihreditor,转转请注明出处:https://www.ihr360.com/hrnews/20241236101.html