fix security configuration
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
@@ -29,6 +29,9 @@ class WebSecurityConfig {
|
|||||||
logger.info("=== INITIALIZING SECURITY FILTER CHAIN ===")
|
logger.info("=== INITIALIZING SECURITY FILTER CHAIN ===")
|
||||||
|
|
||||||
http
|
http
|
||||||
|
.authorizeHttpRequests { auth ->
|
||||||
|
auth.anyRequest().authenticated()
|
||||||
|
}
|
||||||
.oauth2ResourceServer { oauth2 ->
|
.oauth2ResourceServer { oauth2 ->
|
||||||
logger.info("=== oauth2ResourceServer ===")
|
logger.info("=== oauth2ResourceServer ===")
|
||||||
oauth2.jwt { jwt ->
|
oauth2.jwt { jwt ->
|
||||||
|
|||||||
Reference in New Issue
Block a user