-
Notifications
You must be signed in to change notification settings - Fork 6.1k
@Bean SecurityFilterChain is not working in tomcat with xml security configuration files. #10542
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @fr2lancer. I'm not so sure if I follow. Do you mean that when defining a |
Hi To simplify this, Xml security configuration files with
-> //content is not applied. Previous behaviors was Xml security configuration files with
-> //content is applied. |
Can you provide a minimal, reproducible sample, so we can troubleshoot what is happening more precisely? |
If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed. |
Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue. |
Uh oh!
There was an error while loading. Please reload this page.
Environment :
Spring 5.3.12
Spring Security 5.6.0
Tomcat 9.0
Expected Behavior
Current Behavior
However if I run the application under tomcat after creating war, it seems only applies xml configurations not in the java configuration.
Using WebSecurityConfigurerAdapter with xml security configuration files, it works fine.
However it is not working with @bean SecurityFilterChain + xml security configuration files.
#10003
#9451
#8821
The text was updated successfully, but these errors were encountered: