-
Notifications
You must be signed in to change notification settings - Fork 6.1k
web.ignoring().mvcMatchers is confuse in someway about the debug output in the console #9334
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
@manueljordan, thanks for the report. I think the logging could be adjusted in these circumstances to something like:
Would you be able to submit a PR adjusting the logging in As for the requests you point out, they do not match the pattern in your configuration. |
Hi @jzheaux
Not sure what happened, but with
So with About the
That we have the logger and the situation mentioned, seems the goal is work through the Let me do a research to find what implementation represents the type according from |
I found the solution of this, please now give some time to let me pass/accomplish all the requirements requested on the contributors rules. BTW, for the new methods added, about the javadoc, about the Thanks for your understanding |
Correct, @manueljordan. The |
Ok I am going to use that value (5.5), once I am able to build with any problem on Mac and Windows. I reported some issues Thanks for your understanding |
BTW @jzheaux it is in progress, I think I am on 85% to complete. I found more places to update code ... |
Hello @jzheaux I have completed the scenarios (with many
The two methods mentioned above are defined in the Now I am working with Apart - If I have any consult to do about the code. Should I use this channel? or Gitter? |
Glad to hear you are making progress. To consult with IMO, subsequent logs will clarify if Regarding consulting, you're welcome to continue posting here since that creates a durable record. I am on Gitter about once a week, but I'm not very consistent. |
Thanks for your time - Something I did realize, with DEBUG mode is possible see what is not going to be protected (ignored), but does not appear what would be protected. Of course it in DEBUG mode and only showing the paths (not the roles). Even when the output would be verbose, the info is valuable. I would consider it for a new feature later. I want resolve and apply the respective |
I'm not sure I'm following. Would you mind creating a separate ticket about this and showing what you would expect to see in the logs at the DEBUG level?
I think you are referring to |
Let me send a pull request for the former scenario, it for Later on in other issue we can handle the CSRF scenario, it because is not related with |
When either `web.ignoring().mvcMatchers(...)` or `web.ignoring().antMatchers(...)` methods are used, for all their variations, the DefaultSecurityFilterChain class now indicates correctly through its ouput what paths are ignored according the `ignoring()` settings. Closes spring-projectsgh-9334
When either `web.ignoring().mvcMatchers(...)` or `web.ignoring().antMatchers(...)` methods are used, for all their variations, the DefaultSecurityFilterChain class now indicates correctly through its ouput what paths are ignored according the `ignoring()` settings. Closes gh-9334
- Public API remains unchanged Issue gh-9334
- Public API remains unchanged Issue gh-9334
When either `web.ignoring().mvcMatchers(...)` or `web.ignoring().antMatchers(...)` methods are used, for all their variations, the DefaultSecurityFilterChain class now indicates correctly through its ouput what paths are ignored according the `ignoring()` settings. Closes gh-9334
- Public API remains unchanged Issue gh-9334
When either `web.ignoring().mvcMatchers(...)` or `web.ignoring().antMatchers(...)` methods are used, for all their variations, the DefaultSecurityFilterChain class now indicates correctly through its ouput what paths are ignored according the `ignoring()` settings. Closes gh-9334
- Public API remains unchanged Issue gh-9334
Uh oh!
There was an error while loading. Please reload this page.
Hello
Not sure if the following is a possible bug.
Having
2.4.1
2.4.1
5.4.2
I understand the following:
Ignore the second url pattern (it would be the same than the first).
I know that it instructs to Spring Security to ignore that URLs to avoid any kind of security.
When I use
logging.level.org.springframework.security=debug
I can see in the console
Alpha
If those URLs are supposed to be ignored, why appears the
Will secure Mvc
term? it gives the impression they are being secured yetFurthermore when the app is used appears for a simple GET to render the home page:
Beta
Observe the repeat data of these two lines:
Not sure if the
configure(WebSecurity web)
configuration is wrong and that's why I am see that lines or the bugI have this behaviour for:
"/css/**"
pattern inweb.ignoring().mvcMatchers()
(happens alpha and beta)@Override
theconfigure(WebSecurity web)
method (happens only beta)The text was updated successfully, but these errors were encountered: