Э
Size: a a a
Э
A
AE
A
A
AE
A
t
DS
MT
@Overrideкак Spring Security сказать, что есть урлы разрешенные и фильтры на этих урлах не включать?
protected void configure(HttpSecurity http) throws Exception {
http.httpBasic().disable()
.csrf().disable().cors()
.and()
.authorizeRequests()
.antMatchers("/specification/**", "/signin", "/v1/", "/").permitAll()
.anyRequest().authenticated()
.and()
.addFilterBefore(new TokenAuthenticateFilter(), UsernamePasswordAuthenticationFilter.class)
.addFilterBefore(new UserScopeFillingFilter(), BasicAuthenticationFilter.class)
.exceptionHandling().authenticationEntryPoint(unauthorizedEntryPoint)
.and().sessionManagement().sessionCreationPolicy(SessionCreationPolicy.STATELESS)
.and().formLogin().disable();
}
r
AE
MT
DS
Ф
DS
L1