This is the codeAbility Sharing Platform! Learn more about the codeAbility Sharing Platform.

Skip to content
Snippets Groups Projects
Commit 7a53ca5d authored by Johannes Kainz's avatar Johannes Kainz
Browse files

added missing antMatcher

parent 7534bee6
2 merge requests!120Bringing monitoring to production,!100Monitoring
......@@ -176,7 +176,8 @@ public class SecurityConfiguration extends WebSecurityConfigurerAdapter {
.antMatchers("/api/**").authenticated()
.antMatchers("/management/health").permitAll()
.antMatchers("/management/info").permitAll()
.antMatchers("/management/prometheus").permitAll()
.antMatchers("/management/prometheus/**").permitAll()
.antMatchers("/management/prometheusHourly/**").permitAll()
.antMatchers("/management/**").hasAuthority(AuthoritiesConstants.ADMIN)
.antMatchers("/api/currentuser-watch-lists/**").authenticated()
.and()
......@@ -195,7 +196,7 @@ public class SecurityConfiguration extends WebSecurityConfigurerAdapter {
.oauth2ResourceServer() // .bearerTokenResolver(bearerTokenResolver)
.jwt()
.jwtAuthenticationConverter(authenticationConverter())
.and()
// .authenticationManagerResolver(authenticationManagerResolver())
.and()
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment