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 NonnullSupplier<jakarta.servlet.http.HttpServletRequest> Gets aNonnullSupplierfor aHttpServletRequest.static NonnullSupplier<jakarta.servlet.http.HttpServletResponse> Gets aNonnullSupplierfor aHttpServletResponse.
-
Method Details
-
getHttpServletRequestSupplier
public static NonnullSupplier<jakarta.servlet.http.HttpServletRequest> getHttpServletRequestSupplier()Gets aNonnullSupplierfor aHttpServletRequest.- Returns:
- a supplier for the current
HttpServletRequest.
-
getHttpServletResponseSupplier
public static NonnullSupplier<jakarta.servlet.http.HttpServletResponse> getHttpServletResponseSupplier()Gets aNonnullSupplierfor aHttpServletResponse.- Returns:
- a supplier for the current
HttpServletResponse.
-