mirror of
https://github.com/valitydev/org-manager.git
synced 2024-11-06 00:15:23 +00:00
fix security + revert parent (#35)
Co-authored-by: ggmaleva <ggmaleva@yandex.ru>
This commit is contained in:
parent
48efdc9ea6
commit
ae9bd5093c
3
pom.xml
3
pom.xml
@ -6,7 +6,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>dev.vality</groupId>
|
<groupId>dev.vality</groupId>
|
||||||
<artifactId>service-parent-pom</artifactId>
|
<artifactId>service-parent-pom</artifactId>
|
||||||
<version>1.0.15</version>
|
<version>1.0.18</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<artifactId>org-manager</artifactId>
|
<artifactId>org-manager</artifactId>
|
||||||
@ -46,7 +46,6 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>dev.vality</groupId>
|
<groupId>dev.vality</groupId>
|
||||||
<artifactId>damsel</artifactId>
|
<artifactId>damsel</artifactId>
|
||||||
<version>1.568-9362c08</version>
|
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>dev.vality</groupId>
|
<groupId>dev.vality</groupId>
|
||||||
|
@ -51,6 +51,8 @@ public class SecurityConfig extends KeycloakWebSecurityConfigurerAdapter {
|
|||||||
.authorizeRequests()
|
.authorizeRequests()
|
||||||
.antMatchers(HttpMethod.OPTIONS, "/**").permitAll()
|
.antMatchers(HttpMethod.OPTIONS, "/**").permitAll()
|
||||||
.antMatchers(HttpMethod.GET, "/**/health").permitAll()
|
.antMatchers(HttpMethod.GET, "/**/health").permitAll()
|
||||||
|
.antMatchers(HttpMethod.GET, "/**/health/readiness").permitAll()
|
||||||
|
.antMatchers(HttpMethod.GET, "/**/health/liveness").permitAll()
|
||||||
.antMatchers("/**/auth-context").permitAll()
|
.antMatchers("/**/auth-context").permitAll()
|
||||||
.antMatchers(HttpMethod.GET, "/**/prometheus").permitAll()
|
.antMatchers(HttpMethod.GET, "/**/prometheus").permitAll()
|
||||||
.anyRequest().authenticated();
|
.anyRequest().authenticated();
|
||||||
|
Loading…
Reference in New Issue
Block a user