Skip to content

Adding keyInfo section to LogoutRequest from RP side #10450

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

Merged
merged 1 commit into from
Oct 29, 2021

Conversation

surkoff-v
Copy link
Contributor

Fixes #10438

in org.springframework.security.saml2.provider.service.web.authentication.logout.OpenSamlSigningUtils was added
signingConfiguration.setKeyInfoGeneratorManager(buildSignatureKeyInfoGeneratorManager()); in 'resolveSigningParameters' method and also added method 'buildSignatureKeyInfoGeneratorManager()'

the same I did in 'org.springframework.security.saml2.provider.service.authentication.logout.OpenSamlSigningUtils'

And now we have all three places

org.springframework.security.saml2.provider.service.web.authentication.logout.OpenSamlSigningUtils org.springframework.security.saml2.provider.service.authentication.logout.OpenSamlSigningUtils org.springframework.security.saml2.provider.service.authentication.OpenSamlSigningUtils

with KeyInfo in Signature.

Also I added org.springframework.security.saml2.provider.service.authentication.TestOpenSamlObjects#relyingPartyLogoutRequest

to test that RP LogoutRequest has KeyInfo section in org.springframework.security.saml2.provider.service.web.authentication.logout.Saml2LogoutSigningUtilsTests

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Oct 28, 2021
@eleftherias eleftherias added in: saml2 An issue in SAML2 modules type: bug A general bug and removed status: waiting-for-triage An issue we've not yet triaged labels Oct 29, 2021
@jzheaux jzheaux merged commit 7330ec4 into spring-projects:main Oct 29, 2021
@jzheaux jzheaux added this to the 5.6.0 milestone Oct 29, 2021
@jzheaux
Copy link
Contributor

jzheaux commented Oct 29, 2021

Thanks, @surkoff-v! This is now merged into main.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: saml2 An issue in SAML2 modules type: bug A general bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

In saml2 LogoutRequest from RP doesn't contain KeyInfo
4 participants