-
Notifications
You must be signed in to change notification settings - Fork 6k
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
PermitAllSupport should support AuthorizeHttpRequestsConfigurer #10482
Comments
Hi, i would like to try this. As far as I understood I should additonally try to get an
and make sure that either a Additionally if an
The only problem with this approach is that the mappings in the |
Hi, @igorpele! It's yours. Yes, I think adding a package-private |
PermitAllSupport supports either an ExpressionUrlAuthorizationConfigurer or an AuthorizeHttpRequestsConfigurer. If none or both are configured an error message is thrown. Closes spring-projectsgh-10482
PermitAllSupport supports either an ExpressionUrlAuthorizationConfigurer or an AuthorizeHttpRequestsConfigurer. If none or both are configured an error message is thrown. Closes gh-10482
PermitAllSupport supports either an ExpressionUrlAuthorizationConfigurer or an AuthorizeHttpRequestsConfigurer. If none or both are configured an error message is thrown. Closes gh-10482
When using
HttpSecurity#authorizeHttpRequests
together withFormLoginConfigurer#permitAll
,PermitAllSupport
throws the error:PermitAllSupport
should allow for either anExpressionUrlAuthorizationConfigurer
or anAuthorizeHttpRequestsConfigurer
.Having both of these configured will make
PermitAllSupport
's role ambiguous, and so it should error if neither or both of those configurers are present.The text was updated successfully, but these errors were encountered: