- getLoginMessage
Returns the current login message that is displayed if a user logs in. if null is returned, no login
- setLoginMessage
Sets the login message to display if a user logs in. This operation requires
that the current user h
- <init>
Creates a new storage for invalid logins.
- addInvalidLogin
Adds an invalid attempt to login for the given user / IP to the storage. In case
the configured thre
- checkInvalidLogins
Checks if the threshold for the invalid logins has been reached for the given
user. In case the conf
- checkLoginAllowed
Checks if a login is currently allowed. In case no logins are allowed, an
Exception is thrown.
- createStorageKey
Returns the key to use for looking up the user in the invalid login storage.
- getDisableMinutes
Returns the minutes an account gets disabled after too many failed login
attempts.
- getMaxBadAttempts
Returns the number of bad login attempts allowed before an account is
temporarily disabled.
- isEnableSecurity
Returns if the security option ahould be enabled on the login dialog.
- removeInvalidLogins
Removes all invalid attempts to login for the given user / IP.
- canLockBecauseOfInactivity
Checks whether a user account can be locked because of inactivity.