Interface IAuthenticationRequest
- All Known Implementing Classes:
AuthenticationRequest
public interface IAuthenticationRequest
Defines an object to provide information of the authentication request.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
containsParameter
(String name) Returns a boolean indicating whether this request has a parameter with the specified namejavax.servlet.http.Cookie[]
Implementation of HttpServletRequest.getCookies().Implementation of HttpServletRequest.getHeader(String name).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
javax.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)
-
getParameter
Implementation of ServletRequest.getParameter(String name).
- See Also:
-
ServletRequest.getParameter(String name)
-
containsParameter
Returns a boolean indicating whether this request has a parameter with the specified name- Returns:
- a boolean indicating if the request has the parameter name
-