-
Notifications
You must be signed in to change notification settings - Fork 126
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
Feature/fix configuration spring security #674
Feature/fix configuration spring security #674
Conversation
…urityConfigurerAdapter`
…n. Please select just one.`
@whiskeysierra This PR instead of #662 |
👍 |
Thank you very much! 👍 @whiskeysierra It would be great to have a release containing this. |
I released 0.27.0 just now 📣 |
@whiskeysierra Thank you very much! |
I use 0.27.0 and still have this issue and I do not use a |
I also have this problem.
code: |
@jinyuttt check your dependencies I fixed my problem, I had a dependency included that was using |
Description
When spring security configuration with
WebSecurityConfigurerAdapter
, then throw IllegalStateException with message(Found WebSecurityConfigurerAdapter as well as SecurityFilterChain. Please select just one
)WebSecurityConfigurerAdapter
loadedspring.factories
file when default security configuration. AddProblemHttpConfigur
, Using this meachnism is solved that problem.But, If not using
WebSecurityConfigurerAdapter
,spring.factories
is not working. so addedProblemSecurityBeanPostProcessor
will be configure exception handlingMotivation and Context
This fixes #501, #573 and also resolves #582
Types of changes
Checklist: