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