-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Closed
Labels
in: configAn issue in spring-security-configAn issue in spring-security-configstatus: feedback-providedFeedback has been providedFeedback has been providedtype: bugA general bugA general bug
Description
Describe the bug
version
- spring boot 3.0.1
- spring security 6.0.1
not execute .permitAll()
just not registered controller.
To Reproduce
requestMatchers dose not execute .permitAll()
.
localhost:8080/data request response is 403 forbidden.
("/data" URL is not mvcMatcher, not registered controller API)
but, all include matcher ("/**") execute .permitAll()
.
Expected behavior
.authorizeHttpRequests(authorize -> authorize
.requestMatchers("/data").permitAll()
)
localhost:8080/data request expected 404 Not Found;
rehoehle, iozyigit0 and solairerovejahidem
Metadata
Metadata
Assignees
Labels
in: configAn issue in spring-security-configAn issue in spring-security-configstatus: feedback-providedFeedback has been providedFeedback has been providedtype: bugA general bugA general bug