Module is.codion.swing.framework.ui
Package is.codion.swing.framework.ui
Interface EntityApplicationPanel.Builder.LoginProvider
- Enclosing interface:
- EntityApplicationPanel.Builder<M extends SwingEntityApplicationModel,
P extends EntityApplicationPanel<M>>
public static interface EntityApplicationPanel.Builder.LoginProvider
Provides a way for a user to login.
-
Method Summary
-
Method Details
-
login
User login()Performs the login and returns the User, may not return null.- Returns:
- the user, not null
- Throws:
RuntimeException
- in case the login failedCancelException
- in case the login is cancelled
-