-
Notifications
You must be signed in to change notification settings - Fork 6k
Make Saml2Authentication serializable #7683
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
Make Saml2Authentication serializable #7683
Conversation
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 PR @clemstoquart! I left some comments inline.
...ingframework/security/saml2/provider/service/authentication/Saml2AuthenticatedPrincipal.java
Show resolved
Hide resolved
...ingframework/security/saml2/provider/service/authentication/Saml2AuthenticatedPrincipal.java
Outdated
Show resolved
Hide resolved
...work/security/saml2/provider/service/authentication/OpenSamlAuthenticationProviderTests.java
Outdated
Show resolved
Hide resolved
77e68bf
to
7a7cdae
Compare
Some integration tests are failing on my computer. |
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 @clemstoquart, I noticed a few more things and I've left comments inline.
...ingframework/security/saml2/provider/service/authentication/Saml2AuthenticatedPrincipal.java
Outdated
Show resolved
Hide resolved
...ingframework/security/saml2/provider/service/authentication/Saml2AuthenticatedPrincipal.java
Outdated
Show resolved
Hide resolved
Are you using Java 11+? If so the LDAP integrations tests will fail. |
7a7cdae
to
b101ab6
Compare
I'm using Java 8. It was because of the |
Could the Saml2AuthenticatedPrincipal be an interface and have a basic implementation (package private)? There are features that would benefit from this later, such as #7465 |
b101ab6
to
462f183
Compare
@fhanik Sure. It's done. |
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 all the work you've been doing @clemstoquart!
I have left a few small comments.
...ingframework/security/saml2/provider/service/authentication/Saml2AuthenticatedPrincipal.java
Show resolved
Hide resolved
...ingframework/security/saml2/provider/service/authentication/Saml2AuthenticatedPrincipal.java
Outdated
Show resolved
Hide resolved
...mework/security/saml2/provider/service/authentication/SimpleSaml2AuthenticatedPrincipal.java
Show resolved
Hide resolved
462f183
to
d152c80
Compare
Thanks for the PR @clemstoquart! This is now merged into master. |
@eleftherias Thanks for the reviews. Have a nice day :) |
Fix #7681