Skip to content

Commit

Permalink
Saving
Browse files Browse the repository at this point in the history
  • Loading branch information
marcusdacoregio committed Dec 13, 2023
1 parent 8554b0a commit 27f4b0a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ java {
sourceCompatibility = '17'
}

ext['spring-security.version'] = '6.2.0'

repositories {
mavenLocal()
mavenCentral()
}

Expand Down
1 change: 0 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
spring-security.version=6.2.0-SNAPSHOT
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ public class SecurityConfig {
@Bean
SecurityWebFilterChain appSecurity(ServerHttpSecurity http) {
http
.csrf(ServerHttpSecurity.CsrfSpec::disable)
.authorizeExchange((authorize) -> authorize
.anyExchange().authenticated()
)
Expand Down
3 changes: 3 additions & 0 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@ spring:
security:
user:
password: password

logging.level:
org.springframework.web: TRACE

0 comments on commit 27f4b0a

Please sign in to comment.