Class OpenSamlUtils
java.lang.Object
se.swedenconnect.spring.saml.idp.utils.OpenSamlUtils
Utility methods for OpenSAML.
- Author:
- Martin Lindström
-
Method Summary
Modifier and TypeMethodDescriptionstatic net.shibboleth.shared.primitive.NonnullSupplier
<jakarta.servlet.http.HttpServletRequest> Gets aNonnullSupplier
for aHttpServletRequest
.static net.shibboleth.shared.primitive.NonnullSupplier
<jakarta.servlet.http.HttpServletResponse> Gets aNonnullSupplier
for aHttpServletResponse
.
-
Method Details
-
getHttpServletRequestSupplier
public static net.shibboleth.shared.primitive.NonnullSupplier<jakarta.servlet.http.HttpServletRequest> getHttpServletRequestSupplier()Gets aNonnullSupplier
for aHttpServletRequest
.- Returns:
- a supplier for the current
HttpServletRequest
.
-
getHttpServletResponseSupplier
public static net.shibboleth.shared.primitive.NonnullSupplier<jakarta.servlet.http.HttpServletResponse> getHttpServletResponseSupplier()Gets aNonnullSupplier
for aHttpServletResponse
.- Returns:
- a supplier for the current
HttpServletResponse
.
-