Account.setAndEncryptPassword()
The method encrypts the given plaintext password and sets it on account object.
- 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.setAndEncryptPassword(String password)
- Arguments
-
- password
- Plain text password string.
- Description
-
This method can be used in the scripting context to set a given plain text password to an account object if the javascript.password.access.enabled property is set to
true
in the <IM_HOME>/data/scriptframework.properties file. Internally, the function encrypts the password and sets the same on the account entity. - Usage
-
account.setAndEncryptPassword(“secret”); </page_ Account.setAndEncryptPassword()>