...
We only ever inject HttpServletRequest
or HttpServletResponse
into an object if it is known to have a short life (which means exactly one place - org.opensaml.saml.saml2.profile.impl.ValidateAssertions.AssertionValidationInput
. In all other places we inject a java.util.function.Supplier
. Two new beans are set in global-system which return the object directly from the TLS.
Moved net.shibboleth.utilities.java.support.net → net.shibboleth.shared.net
Impacts a few APIs some might use in scripts to do servlet-y things, but should be rare. IPRange in particular tends to be used with String conversions via Spring.