|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.romaframework.module.users.view.domain.AccountManagementUtility
public class AccountManagementUtility
Utility class for the management of account and password through Spring injection Check of the password expiration period Check for matching between password and regular expression Check of the account expiration period Check for previous password
| Field Summary | |
|---|---|
static long |
DAY_MILLISECONDS
|
| Constructor Summary | |
|---|---|
AccountManagementUtility()
|
|
| Method Summary | |
|---|---|
static boolean |
isAccountExpired(BaseAccount account)
Check if the account period has gone off |
static boolean |
isPasswordExpired(BaseAccount account)
Check if the password period has gone off |
static boolean |
isPasswordMathedRegExpression(java.lang.String password)
Methods allow you to match new password with regular expression setted inside BaseAccount |
static boolean |
isPasswordUnused(BaseAccount account,
java.lang.String password)
Discover if the password have been used before |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final long DAY_MILLISECONDS
| Constructor Detail |
|---|
public AccountManagementUtility()
| Method Detail |
|---|
public static boolean isPasswordExpired(BaseAccount account)
public static boolean isAccountExpired(BaseAccount account)
account -
public static boolean isPasswordMathedRegExpression(java.lang.String password)
account - password -
public static boolean isPasswordUnused(BaseAccount account,
java.lang.String password)
account - password -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||