Skip to content

Commit 2c5d5d5

Browse files
authored
Updating security access to info endpoint to be used by agent installer (#371)
1 parent 861ae85 commit 2c5d5d5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

backend/src/main/java/com/park/utmstack/config/SecurityConfiguration.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ public void configure(HttpSecurity http) throws Exception {
115115
.antMatchers("/api/**").hasAnyAuthority(AuthoritiesConstants.ADMIN, AuthoritiesConstants.USER)
116116
.antMatchers("/ws/topic").hasAuthority(AuthoritiesConstants.ADMIN)
117117
.antMatchers("/ws/**").permitAll()
118+
.antMatchers("/management/info").permitAll()
118119
.antMatchers("/management/**").hasAnyAuthority(AuthoritiesConstants.ADMIN, AuthoritiesConstants.USER)
119120
.and()
120121
.apply(securityConfigurerAdapterForJwt())

0 commit comments

Comments
 (0)