Giriş
Bu anotasyon genellikle WebSecurityConfigurerAdapter sınıfının üstüne yazılır.
Örnek
Şöyle yaparız.
Bu anotasyon genellikle WebSecurityConfigurerAdapter sınıfının üstüne yazılır.
Örnek
Şöyle yaparız.
@Configuration
@EnableWebSecurity
@ComponentScan("your.base.package")
public class WebSecurityConfig extends WebSecurityConfigurerAdapter
{
  @Override
  protected void configure(final HttpSecurity http) throws Exception {
    ...
  }
} 
Hiç yorum yok:
Yorum Gönder