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

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

added missing antMatcher

parent a64f7973
Branches
2 merge requests!188Merging Peer Reviewing et. al to Master,!164211 peer reviewing functionality
......@@ -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