Make Saml2Authentication serializable#7683
Make Saml2Authentication serializable#7683eleftherias merged 1 commit intospring-projects:masterfrom
Conversation
eleftherias
left a comment
There was a problem hiding this comment.
Thanks for the PR @clemstoquart! I left some 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
...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. |
eleftherias
left a comment
There was a problem hiding this comment.
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. |
eleftherias
left a comment
There was a problem hiding this comment.
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
Outdated
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
Outdated
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