Se realiza modificaciones en SecurityConfig

parent bbbbb012
...@@ -36,7 +36,7 @@ public class SecurityConfig { ...@@ -36,7 +36,7 @@ public class SecurityConfig {
.and() .and()
.authorizeRequests() .authorizeRequests()
.antMatchers(HttpMethod.DELETE, "/api/v1.0/**").hasRole("Administrador del Sistema") .antMatchers(HttpMethod.DELETE, "/api/v1.0/**").hasRole("Administrador del Sistema")
.antMatchers("/api/v1.0/cabevalp/guardar").permitAll() .antMatchers("/api/v1.0/cabevalp/**").permitAll()
.antMatchers("/api/v1.0/**").authenticated() .antMatchers("/api/v1.0/**").authenticated()
.and() .and()
.sessionManagement() .sessionManagement()
......
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