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
Similar to OAuth2AuthenticationRequestResolver, Saml2AuthenticationRequestResolver would be a convenient way to customize the AuthnRequest based on inputs from the request as well as the RelyingPartyRegistration.
The OpenSAML implementation would have a method setAuthnRequestCustomizer similar to OAuth2AuthenticationRequestResolver#setAuthenticationRequestCustomizer. This method would overcome a limitation in OpenSamlAuthenticationRequestFactory's equivalent method setAuthenticationRequestContextConverter, which is that it does not have access to the HttpServletRequest.
This component would supercede Saml2AuthenticationRequestContextResolver, Saml2AuthenticationRequestContext, and Saml2AuthenticationRequestFactory reducing configuration like:
It would also bring the SAML 2.0 support into closer alignment with the OAuth 2.0 support.
Using Saml2AuthenticationRequestContextResolver, Saml2AuthenticationRequestContext, and Saml2AuthenticationRequestFactory will still continue to work and be supported, though moving to Saml2AuthenticationRequestResolver would be encouraged.
A related discussion about motives can be found starting at #8141 (comment). This would also obviate the need for #9209 and would close #9199.
The text was updated successfully, but these errors were encountered:
Similar to
OAuth2AuthenticationRequestResolver
,Saml2AuthenticationRequestResolver
would be a convenient way to customize the AuthnRequest based on inputs from the request as well as theRelyingPartyRegistration
.The OpenSAML implementation would have a method
setAuthnRequestCustomizer
similar toOAuth2AuthenticationRequestResolver#setAuthenticationRequestCustomizer
. This method would overcome a limitation inOpenSamlAuthenticationRequestFactory
's equivalent methodsetAuthenticationRequestContextConverter
, which is that it does not have access to theHttpServletRequest
.This component would supercede
Saml2AuthenticationRequestContextResolver
,Saml2AuthenticationRequestContext
, andSaml2AuthenticationRequestFactory
reducing configuration like:to
It would also bring the SAML 2.0 support into closer alignment with the OAuth 2.0 support.
Using
Saml2AuthenticationRequestContextResolver
,Saml2AuthenticationRequestContext
, andSaml2AuthenticationRequestFactory
will still continue to work and be supported, though moving toSaml2AuthenticationRequestResolver
would be encouraged.A related discussion about motives can be found starting at #8141 (comment). This would also obviate the need for #9209 and would close #9199.
The text was updated successfully, but these errors were encountered: