quite el contador en el ws/contador spring security
Some checks failed
Deploy Spring Boot App / build-and-deploy (push) Has been cancelled

This commit is contained in:
2025-10-01 17:56:51 -04:00
parent 0f680250da
commit e0e6f08db9

View File

@@ -38,7 +38,7 @@ public class SecurityConfig {
.authorizeHttpRequests(auth -> auth .authorizeHttpRequests(auth -> auth
.requestMatchers("/auth/**").permitAll() .requestMatchers("/auth/**").permitAll()
.requestMatchers("/favicon.ico", "/error", "/static/**","contador/**", "/api/**").permitAll() .requestMatchers("/favicon.ico", "/error", "/static/**","contador/**", "/api/**").permitAll()
.requestMatchers("/ws/contador/**").permitAll() // permitir WS sin auth .requestMatchers("/ws/**").permitAll() // permitir WS sin auth
.requestMatchers("/admin/**").hasAnyAuthority("SUPER_USUARIO","ADMIN") .requestMatchers("/admin/**").hasAnyAuthority("SUPER_USUARIO","ADMIN")
.anyRequest().authenticated() .anyRequest().authenticated()
) )