A structure defines the policy used to generate the password.
Name | Type | Description |
---|---|---|
defaultPasswordAllowed | Boolean | Indicates if client application is allowed to use default password for the data Vault. If this is set to TRUE and if client application uses default password then minLength, hasDigits, hasUpper, hasLower and hasSpecial parameters in the policy are ignored. |
minimumLength | Integer | The minimum length of the password. |
hasDigits | Boolean | Indicates if the password must contain digits. |
hasUpper | Boolean | Indicates if the password must contain uppercase characters. |
hasLower | Boolean | Indicates if the password must contain lowercase characters. |
hasSpecial | Boolean | Indicates if the password must contain special characters. The set of special characters is: “~!@#$%^&*()-+”. |
expirationDays | Integer | Specifies password expiry days from the date of setting the password. 0 indicates no expiry. |
minUniqueChars | Integer | The minimum number of unique characters in the password. For example, if length is 5 and minUniqueChars is 4 then “aaate” or “ababa” would be invalid passwords. Instead, “aaord” would be a valid password. |
lockTimeout | Integer | The timeout value (in seconds) after which the vault will be locked from the unlock time. 0 indicates no timeout. This value overrides the value set by setLockTimeout method. |
retryLimit | Integer | The number of failed unlock attempts after which data vault is deleted. 0 indicates no retry limit. This value overrides the value set by the setRetryLimit method. |
The client applications use these settings to fill the PasswordPolicy structure. The default values are used by the data vault when no policy is configured. The defaults are also used in SAP Control Center in the default template. The SAP Mobile Platform administrator can modify these settings through SAP Control Center. The application must set the password policy for the data vault with the administrative (or alternative) settings.