|
@ -22,19 +22,6 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
|
|
|
|
|
|
protected void configure(HttpSecurity http) throws Exception {
|
|
|
http.authorizeRequests()
|
|
|
.antMatchers("/metrics/**").permitAll()
|
|
|
.antMatchers("/health/**").permitAll()
|
|
|
.antMatchers("/env/**").permitAll()
|
|
|
.antMatchers("/dump/**").permitAll()
|
|
|
.antMatchers("/trace/**").permitAll()
|
|
|
.antMatchers("/mappings/**").permitAll()
|
|
|
.antMatchers("/actuator/**").permitAll()
|
|
|
.antMatchers("/beans/**").permitAll()
|
|
|
.antMatchers("/configprops/**").permitAll()
|
|
|
.antMatchers("/docs/**").permitAll()
|
|
|
.antMatchers("/info/**").permitAll()
|
|
|
.antMatchers("/configuration/**").permitAll()
|
|
|
.antMatchers("/jolokia/**").permitAll()
|
|
|
.antMatchers("/job/**").permitAll()
|
|
|
.anyRequest().authenticated()
|
|
|
.and()
|