Package com.avoka.fc.core.security
Class PasswordChangeUtils
java.lang.Object
com.avoka.fc.core.security.PasswordChangeUtils
Provides change password page utility methods.
- Since:
- 4.3.3
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
getAttemptCount
(jakarta.servlet.http.HttpSession session) Return the attempted change count.static void
incrementAttemptCount
(jakarta.servlet.http.HttpSession session) Increment the number of attempted password attempts.
-
Constructor Details
-
PasswordChangeUtils
public PasswordChangeUtils()
-
-
Method Details
-
getAttemptCount
public static int getAttemptCount(jakarta.servlet.http.HttpSession session) Return the attempted change count.- Parameters:
session
- the HTTP session (required)- Returns:
- the number of attempted password changes
-
incrementAttemptCount
public static void incrementAttemptCount(jakarta.servlet.http.HttpSession session) Increment the number of attempted password attempts.- Parameters:
session
- the HTTP session (require)
-