Class IdUVLogin
java.lang.Object
com.io7m.idstore.server.http.IdHTTPHandlerFunctional
com.io7m.idstore.server.user_view.IdUVLogin
- All Implemented Interfaces:
io.helidon.webserver.http.Handler, io.helidon.webserver.ServerLifecycle
The page that displays the login form, or executes the login if a username
and password is provided.
-
Constructor Summary
ConstructorsConstructorDescriptionIdUVLogin(com.io7m.repetoir.core.RPServiceDirectoryType services) The page that displays the login form, or executes the login if a username and password is provided. -
Method Summary
Modifier and TypeMethodDescriptionstatic IdHTTPResponseTypeshowLoginForm(IdServerBrandingServiceType branding, IdFMTemplateType<IdFMLoginData> template, Optional<IdSessionMessage> message, int statusCode) Display a login form.Methods inherited from class IdHTTPHandlerFunctional
handleMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.helidon.webserver.ServerLifecycle
afterStart, afterStop, beforeStart
-
Constructor Details
-
IdUVLogin
public IdUVLogin(com.io7m.repetoir.core.RPServiceDirectoryType services) The page that displays the login form, or executes the login if a username and password is provided.- Parameters:
services- The services
-
-
Method Details
-
showLoginForm
public static IdHTTPResponseType showLoginForm(IdServerBrandingServiceType branding, IdFMTemplateType<IdFMLoginData> template, Optional<IdSessionMessage> message, int statusCode) Display a login form.- Parameters:
branding- The branding resourcestemplate- The page templatemessage- The error message, if anystatusCode- The status code- Returns:
- A login form
-