public interface AdminCustomerPwdHistMgrIf
Modifier and Type | Method and Description |
---|---|
boolean |
checkPasswordValidity(java.lang.String password,
int userId)
Is the password valid?
|
void |
deleteCustomerPasswordHistoryById(int id)
Delete a customer password history record
|
AdminCustomerPasswordHistory[] |
getCustomerPasswordHistory(int userId,
int maxRows)
Get a maximum of maxRows CustomerPasswordHistory records belonging to the specified userId.
|
boolean |
hasPasswordBeenUsedBefore(java.lang.String newPassword,
int userId)
Has the new password been used before?
|
boolean |
hasPasswordExpired(java.lang.String password,
int userId)
Has the customer's password expired?
|
int |
insertCustomerPasswordHistory(AdminCustomerPasswordHistory custPwdHist)
Inserts a customer password history record
|
void |
prunePasswordHistory(int userId)
Prune old CustomerPasswordHistory records.
|
void |
refreshConfigs()
Refresh the configuration of the Manager
|
void |
updateCustomerPasswordHistory(AdminCustomerPasswordHistory custPwdHist)
Update a customer password history record - the Id and CustId fields are not updated but are
used to identify the record to update.
|
boolean |
userPasswordNeverExpires(java.lang.String user)
Is this a user whose password never expires?
|
int insertCustomerPasswordHistory(AdminCustomerPasswordHistory custPwdHist) throws KKAdminException
custPwdHist
- the AdminCustomerPasswordHistory record to insertKKAdminException
- if theres's an unexpected problemvoid deleteCustomerPasswordHistoryById(int id) throws KKAdminException
id
- the id of the AdminCustomerPasswordHistory record to deleteKKAdminException
- if theres's an unexpected problemvoid updateCustomerPasswordHistory(AdminCustomerPasswordHistory custPwdHist) throws KKAdminException
custPwdHist
- the AdminCustomerPasswordHistory record to updateKKAdminException
- if theres's an unexpected problemAdminCustomerPasswordHistory[] getCustomerPasswordHistory(int userId, int maxRows) throws KKAdminException
userId
- the userId whose records to returnmaxRows
- a maximum of this many records will be returnedKKAdminException
- if theres's an unexpected problemboolean checkPasswordValidity(java.lang.String password, int userId) throws KKAdminException
password
- the new Password to check for validityuserId
- the user that the password belongs toKKAdminException
- if there's an unexpected problem or the password is found to be invalid. If the
password is found to be invalid the msgKey attribute of the KKAdminException will
contain a message catalogue key that references a message that explains why.boolean hasPasswordExpired(java.lang.String password, int userId) throws KKAdminException
password
- password in plain textuserId
- the user that the password belongs toKKAdminException
- if theres's an unexpected problemboolean hasPasswordBeenUsedBefore(java.lang.String newPassword, int userId) throws KKAdminException
newPassword
- the new password that to checkuserId
- the user that the password belongs toKKAdminException
- if theres's an unexpected problemvoid prunePasswordHistory(int userId) throws KKAdminException
userId
- the userId of the records to pruneKKAdminException
- if theres's an unexpected problemvoid refreshConfigs() throws java.lang.Exception
java.lang.Exception
- an unexpected exceptionboolean userPasswordNeverExpires(java.lang.String user)
user
- the username to checkCopyright © 2018 DS Data Systems UK Ltd.