Interface IAuthenticationRequest
public interface IAuthenticationRequest
Defines an object to provide information of the authentication request.
-
Method Summary
Modifier and TypeMethodDescriptionint
jakarta.servlet.http.Cookie[]
Implementation of HttpServletRequest.getCookies().Implementation of HttpServletRequest.getHeader(String name).jakarta.servlet.ServletInputStream
Reads the request body.Returns the credentials entered into the standard Saga login form.getParameter
(String name) Implementation of ServletRequest.getParameter(String name).
-
Method Details
-
getLoginCredentials
Returns the credentials entered into the standard Saga login form.
This object contains the username and password used to login.
If no login was performed, an
Optional.empty()
is returned instead- Returns:
- the
SagaLogin
credentials object
-
getCookies
jakarta.servlet.http.Cookie[] getCookies()Implementation of HttpServletRequest.getCookies().
- See Also:
-
HttpServletRequest.getCookies()
-
getHeader
Implementation of HttpServletRequest.getHeader(String name).
- See Also:
-
HttpServletRequest.getHeader(String name)
-
getAllHeaders
- Returns:
- all headers in the request
- See Also:
-
HttpServletRequest.getHeaderNames()
HttpServletRequest.getHeader(String name)
-
getParameter
Implementation of ServletRequest.getParameter(String name).
- See Also:
-
ServletRequest.getParameter(String name)
-
getParameterMap
- See Also:
-
ServletRequest.getParameterMap()
-
getInputStream
Reads the request body. This will cause the whole body to be buffered in memory, so it may have performance implications for large requests.- Throws:
IOException
-
getRequestURI
String getRequestURI()- See Also:
-
HttpServletRequest.getRequestURI()
-
getMethod
String getMethod()- See Also:
-
HttpServletRequest.getMethod()
-
getPathInfo
String getPathInfo()- See Also:
-
HttpServletRequest.getPathInfo()
-
getContentLength
int getContentLength()- See Also:
-
ServletRequest.getContentLength()
-