Skip to content

Issue: Custom Saml2LogoutRequestValidatorParametersResolver Implementation Not Picked Up: saml2 #16840

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

Open
sasi29 opened this issue Mar 28, 2025 · 0 comments · May be fixed by #16954
Open

Issue: Custom Saml2LogoutRequestValidatorParametersResolver Implementation Not Picked Up: saml2 #16840

sasi29 opened this issue Mar 28, 2025 · 0 comments · May be fixed by #16954
Labels
status: waiting-for-triage An issue we've not yet triaged type: bug A general bug

Comments

@sasi29
Copy link

sasi29 commented Mar 28, 2025

Description
According to the documentation it is possible to customize the Saml2LogoutRequestValidatorParametersResolver for logout requests
"For Logout Requests, customize the Saml2LogoutRequestValidatorParametersResolver"

Image

However, when implementing a custom class that extends Saml2LogoutRequestValidatorParametersResolver, it is not picked up. Instead, the default OpenSamlLogoutRequestValidatorParametersResolver is always used.

Observations
Looking at Saml2LogoutConfigurer, the createLogoutRequestProcessingFilter method explicitly creates an instance of OpenSamlLogoutRequestValidatorParametersResolver. There is no clear way to replace this with a custom implementation.

It would be helpful if the documentation provided an example or guidance on how to properly configure and register a custom Saml2LogoutRequestValidatorParametersResolver.

@sasi29 sasi29 added status: waiting-for-triage An issue we've not yet triaged type: bug A general bug labels Mar 28, 2025
evgeniycheban added a commit to evgeniycheban/spring-security that referenced this issue Apr 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: waiting-for-triage An issue we've not yet triaged type: bug A general bug
Projects
None yet
1 participant