-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Closed
Labels
Milestone
Description
Summary
When validating the assertion, if the IdP has provided a SubjectConfirmation
which matches the Bearer
method, the validation will fail. This is due to the fact that the OpenSamlAuthenticationProvider
does not set the necessary parameter
SAML2AssertionValidationParameters.SC_VALID_ADDRESSES
This parameter is used to obtain valid address and compare it to what has been provided in the assertion. But as this parameter is not set this code block fails.
Actual Behavior
SubjectConfirmation validation fails.
Expected Behavior
SubjectConfirmation validation should succeed.
Configuration
Version
spring-security-5.2.0
spring-boot-2.2.0-RC1
Sample
@fhanik FYI.