Account.getAndDecryptPassword()
The method decrypts and returns the decrypted password of the account entity in plain text.
- Availability
- IBM® Security Identity Manager 4.x.
- Synopsis
account.getAndDecryptPassword()
- Returns
- String representing plain text password set in the account object.
- Description
This method can be used in the scripting context of Security Identity Manager if the javascript.password.access.enabled property is set to
true
in the <ISIM_HOME>/data/scriptframework.properties file. It decrypts and returns the decrypted password set in the account object. This function will return null if the password is not present.Note: This method does not decrypt the password of the Security Identity Manager account, which is hashed and stored in LDAP.- Usage
-
var password = account.getAndDecryptPassword(); </page_ Account.getAndDecryptPassword()>