We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c40c034 commit b9da06fCopy full SHA for b9da06f
04-PracticalSamples/petstory/src/main/java/com/example/petstory/SecurityConfig.java
@@ -21,7 +21,6 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
21
.authorizeHttpRequests(auth -> auth
22
.anyRequest().permitAll()
23
)
24
- .csrf(csrf -> csrf.disable()) // Disabled for simplicity in this demo
25
.headers(headers -> headers
26
.frameOptions(frameOptions -> frameOptions.deny())
27
.contentTypeOptions(contentTypeOptions -> {})
0 commit comments