-
Notifications
You must be signed in to change notification settings - Fork 6.1k
X509 Reactive Support #6336
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
X509 Reactive Support #6336
Conversation
6a9d888
to
3b60e55
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the comprehensive PR @alek-sys! I provided feedback inline.
...java/org/springframework/security/web/server/authentication/X509AuthenticationWebFilter.java
Outdated
Show resolved
Hide resolved
093110a
to
3261d4a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the fast turnaround! I found a few other small house keeping items that are I responded inline. Also can you please add documentation in https://github.com/spring-projects/spring-security/tree/master/docs/manual/src/docs/asciidoc/_includes/reactive
Thanks again for your help on this issue!
samples/boot/webflux-x509/src/main/java/sample/WebfluxX509Application.java
Outdated
Show resolved
Hide resolved
config/src/main/java/org/springframework/security/config/web/server/ServerHttpSecurity.java
Show resolved
Hide resolved
config/src/main/java/org/springframework/security/config/web/server/ServerHttpSecurity.java
Show resolved
Hide resolved
samples/boot/webflux-x509/src/main/java/sample/WebfluxX509Application.java
Show resolved
Hide resolved
...rg/springframework/security/web/server/authentication/ServerX509AuthenticationConverter.java
Show resolved
Hide resolved
Hey @rwinch, sorry for not coming back on this, I'm looking into this and hope to get it updated today or tomorrow. |
I'm not sure why Github shows this as "Changes requested", but I've added all the things you've asked, Rob (including documentation). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the the nudge. The status doesn't automatically get updated when you push changes.
I added a couple more comments inline.
Thanks again for your work on this!
...ig/src/test/java/org/springframework/security/config/web/server/ServerHttpSecurityTests.java
Show resolved
Hide resolved
I bet you knew that! 👍 Yes, there is an issue with using default authentication manager, even more of that, I've discovered that default authentication manager won't work, because |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the updates. Comments are inline
.../src/main/java/org/springframework/security/core/userdetails/ReactiveUserDetailsChecker.java
Outdated
Show resolved
Hide resolved
af30173
to
5ecd42a
Compare
I've also updated the integration test to use |
Hey @rwinch, I'm not planning any more updates here, so feel free to review this PR whever it is a good time for you. Thanks for your help! |
@rwinch sorry for a nudge, do you think this PR can make it to 5.2? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the delays. I have one more minor comment
config/src/main/java/org/springframework/security/config/web/server/ServerHttpSecurity.java
Outdated
Show resolved
Hide resolved
@rwinch no worries, I've just changed the method visibility. Also, rebase on top of lastest changes in master. Thanks for your guidance and help on that! |
No description provided.