Account.getAndDecryptPassword()
The method decrypts and returns the decrypted password of the account entity in plain text.
- Availability
-
IBM® Tivoli® Identity Manager 4.x
IBM Tivoli Identity Manager 5.x
IBM Security Identity Manager 6.x
IBM Security Identity Manager 7.0.
- 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 Identity Manager if the
javascript.password.access.enabled property is set to truein the <IM_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.
This method can be used in the scripting context of
Identity Manager if the
javascript.password.access.enabled property is set to truein the
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 Identity Manager account, which is hashed and stored in LDAP. - Usage
-
var password = account.getAndDecryptPassword(); </page_ Account.getAndDecryptPassword()>