-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Closed
Labels
in: webAn issue in web modules (web, webmvc)An issue in web modules (web, webmvc)type: enhancementA general enhancementA general enhancement
Milestone
Description
Expected Behavior
We should be able to configure WebSecurity
without needing WebSecurityConfigurerAdapter
.
The approach is to create a customizer for WebSecurity
and expose that as a bean.
Current Behavior
The WebSecurityConfigurerAdapter
has the ability to customize WebSecurity
.
Here is an example:
@Configuration
static class WebConfigurer extends WebSecurityConfigurerAdapter {
@Override
public void configure(WebSecurity web) {
web
.ignoring()
.antMatchers("/ignore1", "/ignore2");
}
}
Related: gh-8804
sjohnr
Metadata
Metadata
Assignees
Labels
in: webAn issue in web modules (web, webmvc)An issue in web modules (web, webmvc)type: enhancementA general enhancementA general enhancement