Class LoginController
java.lang.Object
csce331.group13.project2.ui.LoginController
Controller for the login screen.
Handles employee authentication and session initialization.
- Author:
- Austin Glander
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidInitializes the login screen by loading active employees into the choice box.voidProcesses login attempts by verifying the selected employee and password.
-
Constructor Details
-
LoginController
public LoginController()
-
-
Method Details
-
initialize
public void initialize()Initializes the login screen by loading active employees into the choice box. Called automatically by JavaFX after the FXML file is loaded. -
processLogin
public void processLogin()Processes login attempts by verifying the selected employee and password. On successful authentication, navigates to the orders screen and sets the session.
-