8.1.1. Login Screen

The login screen provides ability to register within the system with a username and password.

The login is case-insensitive.

The Web Client screen class is LoginWindow, the Desktop Client class is LoginDialog. These classes can be extended to provide additional functionality in the application. Override the following methods to register extended classes:

  • createLoginWindow() method of the com.haulmont.cuba.web.App class for the Web Client.

  • createLoginDialog() method of the com.haulmont.cuba.desktop.App class for the Desktop Client.

The Web Client’s Remember Me checkbox can be configured by using the cuba.web.rememberMeEnabled application property.

The drop-down list of supported languages on the standard login screen can be configured with the cuba.localeSelectVisible and cuba.availableLocales application properties.

The platform has a mechanism for the protection against password brute force cracking. It is described in the Login section.