You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recent support for configuring OpenSAML's ConditionValidators and ValidationContextwere added to OpenSamlAuthenticationProvider.
Based on some early RC1 feedback, it would be nice if the assertion validation support were more generalized.
Since delegation is a common pattern in Spring Security, it would make sense to have a setter that encouraged this practice. Also, it would be nice if the contract were more similar to OAuth2TokenValidator's. One way to do this would be to replace setConditionValidators and setValidationContextConverter with two other methods:
In several cases, taking a pre-set ValidationContext is not sufficient.
For example, the recipient is calculated via the
RelyingPartyRegistration that's currently in the context of the
request.
Instead, then, createDefaultAssertionValidator was broken up into two
different methods: One that takes no parameters and assumes the class's
default ValidationContext, and another that takes a converter to derive
the ValidationContext from the incoming authentication token.
Issue gh-8970
Recent support for configuring OpenSAML's
ConditionValidator
s andValidationContext
were added toOpenSamlAuthenticationProvider
.Based on some early RC1 feedback, it would be nice if the assertion validation support were more generalized.
Since delegation is a common pattern in Spring Security, it would make sense to have a setter that encouraged this practice. Also, it would be nice if the contract were more similar to
OAuth2TokenValidator
's. One way to do this would be to replacesetConditionValidators
andsetValidationContextConverter
with two other methods:These are similar to
JwtDecoder#setJwtValidator
andJwtValidators#createDefault
methods.Together, these allow an application to customize validation and delegate to Spring Security's defaults, like so:
The text was updated successfully, but these errors were encountered: