HID APPROVE SDK
5.9
HID Approve SDK for Android
|
Protection Policy with password specific constraints More...
Public Member Functions | |
boolean | changePassword (char[] oldpwdvalue, char[] newpwdvalue) throws AuthenticationException, PasswordNotYetUpdatableException, InvalidPasswordException, LostCredentialsException, InternalException, FingerprintAuthenticationRequiredException, UnsupportedDeviceException, FingerprintNotEnrolledException, PasswordRequiredException, InvalidParameterException |
int | getCacheTimeout () |
long | getCurrentAge () |
int | getMaxAge () |
int | getMaxAlpha () |
int | getMaxHistory () |
int | getMaxLength () |
int | getMaxLowerCase () |
int | getMaxNonAlpha () |
int | getMaxNumeric () |
int | getMaxUpperCase () |
int | getMinAge () |
int | getMinAlpha () |
int | getMinLength () |
int | getMinLowerCase () |
int | getMinNonAlpha () |
int | getMinNumeric () |
int | getMinUpperCase () |
boolean | isCacheEnabled () |
boolean | isSequenceAllowed () |
void | verifyPassword (char[] password) throws InternalException, UnsupportedDeviceException, LostCredentialsException, AuthenticationException, PasswordExpiredException, FingerprintAuthenticationRequiredException, FingerprintNotEnrolledException, PasswordRequiredException, InvalidParameterException |
![]() | |
ProtectionPolicyId | getId () |
LockPolicy | getLockPolicy () |
String | getType () |
Protection Policy with password specific constraints
Protection Policy with password specific constraints.
The restrictions may be any or all of the following:
boolean com.hidglobal.ia.service.protectionpolicy.PasswordPolicy.changePassword | ( | char [] | oldpwdvalue, |
char [] | newpwdvalue | ||
) | throws AuthenticationException, PasswordNotYetUpdatableException, InvalidPasswordException, LostCredentialsException, InternalException, FingerprintAuthenticationRequiredException, UnsupportedDeviceException, FingerprintNotEnrolledException, PasswordRequiredException, InvalidParameterException |
Changes the password bound to the protection policy identified by the protection policyId parameter. New password must respect the defined protection policy restrictions.
oldpwdvalue | old key password. |
newpwdvalue | new key password. |
AuthenticationException | if old key password is incorrect. |
PasswordNotYetUpdatableException | if the policy indicates that it is too early to update the password. |
InvalidPasswordException | if new key password is not accepted by the protection policy. |
LostCredentialsException | if provisioning key data has been corrupted or lost. |
InternalException | if an unexpected error occurred. |
FingerprintAuthenticationRequiredException | if fingerprint authentication is required by policy. |
FingerprintNotEnrolledException | if fingerprint enrollment is required. |
UnsupportedDeviceException | if device is not supported by policy. |
PasswordRequiredException | if required password was not provided and cached password is not available. |
InvalidParameterException | if the given parameters are invalid or required parameters are missing. |
int com.hidglobal.ia.service.protectionpolicy.PasswordPolicy.getCacheTimeout | ( | ) |
Gets password cache timeout.
long com.hidglobal.ia.service.protectionpolicy.PasswordPolicy.getCurrentAge | ( | ) |
Get current password age since last change.
int com.hidglobal.ia.service.protectionpolicy.PasswordPolicy.getMaxAge | ( | ) |
Get maximum age for a password. This determines how long (in days) users can keep a password before they have to change it. If 0, indicates that the password never expires.
int com.hidglobal.ia.service.protectionpolicy.PasswordPolicy.getMaxAlpha | ( | ) |
Get maximum number of letter characters
int com.hidglobal.ia.service.protectionpolicy.PasswordPolicy.getMaxHistory | ( | ) |
Get max password history limit. This security setting determines the number of unique new passwords that have to be associated with the key before an old password can be reused.
int com.hidglobal.ia.service.protectionpolicy.PasswordPolicy.getMaxLength | ( | ) |
Get maximum password length.
int com.hidglobal.ia.service.protectionpolicy.PasswordPolicy.getMaxLowerCase | ( | ) |
Get maximum number of lower case letters.
int com.hidglobal.ia.service.protectionpolicy.PasswordPolicy.getMaxNonAlpha | ( | ) |
Get maximum number of special characters (non alphanumeric)
int com.hidglobal.ia.service.protectionpolicy.PasswordPolicy.getMaxNumeric | ( | ) |
Get maximum number of numeric characters
int com.hidglobal.ia.service.protectionpolicy.PasswordPolicy.getMaxUpperCase | ( | ) |
Get maximum number of upper case letters.
int com.hidglobal.ia.service.protectionpolicy.PasswordPolicy.getMinAge | ( | ) |
Get minimum age for password. This security setting determines the period of time (in days) that a password must be used before the user can change it. It must be less than the maximum password age. If 0, indicates to allow changes immediately.
int com.hidglobal.ia.service.protectionpolicy.PasswordPolicy.getMinAlpha | ( | ) |
Get minimum number of alphabetical characters.
int com.hidglobal.ia.service.protectionpolicy.PasswordPolicy.getMinLength | ( | ) |
Get minimum password length.
int com.hidglobal.ia.service.protectionpolicy.PasswordPolicy.getMinLowerCase | ( | ) |
Get the minimum number of lower case letters.
int com.hidglobal.ia.service.protectionpolicy.PasswordPolicy.getMinNonAlpha | ( | ) |
Get minimum number of special characters (non alphanumeric)
int com.hidglobal.ia.service.protectionpolicy.PasswordPolicy.getMinNumeric | ( | ) |
Get minimum number of numeric characters.
int com.hidglobal.ia.service.protectionpolicy.PasswordPolicy.getMinUpperCase | ( | ) |
Get minimum number of upper case letters.
boolean com.hidglobal.ia.service.protectionpolicy.PasswordPolicy.isCacheEnabled | ( | ) |
Gets password cache flag.
boolean com.hidglobal.ia.service.protectionpolicy.PasswordPolicy.isSequenceAllowed | ( | ) |
Returns is Sequence Allowed
void com.hidglobal.ia.service.protectionpolicy.PasswordPolicy.verifyPassword | ( | char [] | password | ) | throws InternalException, UnsupportedDeviceException, LostCredentialsException, AuthenticationException, PasswordExpiredException, FingerprintAuthenticationRequiredException, FingerprintNotEnrolledException, PasswordRequiredException, InvalidParameterException |
When password caching is enabled, will verify and cache the password protecting the key for transaction signing. The cache is deleted when cache timeout is reached or cached password is used.
password | the key password. |
InternalException | if an unexpected error occurred. |
UnsupportedDeviceException | if device is not supported by policy. |
LostCredentialsException | if provisioning key data has been corrupted or lost. |
AuthenticationException | if password is incorrect. |
PasswordExpiredException | if expired password is given (changePassword required). |
FingerprintAuthenticationRequiredException | if fingerprint authentication is required by policy. |
FingerprintNotEnrolledException | if fingerprint enrollment is required. |
PasswordRequiredException | if required password was not provided and cached password is not available. |
InvalidParameterException | if the given parameters are invalid or required parameters are missing. |