Skip to content

Commit 7a27220

Browse files
committed
changed security config
1 parent 92ac230 commit 7a27220

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/main/java/io/github/patternatlas/api/config/ResourceServerConfig.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,9 @@ class ResourceServerConfig extends ResourceServerConfigurerAdapter {
3131
@Override
3232
public void configure(HttpSecurity http) throws Exception {
3333
http
34-
.requestMatchers()
35-
.antMatchers("/**")
36-
.and()
3734
.authorizeRequests()
38-
.anyRequest().permitAll()
35+
.antMatchers("/**")
36+
.permitAll()
3937
.and()
4038
.sessionManagement()
4139
.sessionCreationPolicy(SessionCreationPolicy.STATELESS);

0 commit comments

Comments
 (0)