Express (Distributed operating systems), v8.0 > Secure applications and their environment > Authenticate users > Select a registry or repository > Manage realms in a federated repository > Virtual member manager > Develop with virtual member manager > Integrate virtual member manager into the application > Program tasks
Dynamically updating the administrator password for a property extension repository
Use this procedure to dynamically update the database administrator password for a property extension repository.
About this task
When this dynamic call is made, only the configuration in memory is updated. The configuration file is not updated.
Event Type
DYNA_CONFIG_EVENT_UPDATE_PROPERTY_EXTENSION_ADMIN_PASSWORD
Configuration Data
DYNA_CONFIG_KEY_DB_ADMIN_PASSWORD (required) – [base64Binary]
Property extension repository administrator password to update. The following is a sample task:
Procedure
- Ensure that virtual member manager is running.
- Call the dynamicUpdateConfig API method to change the password. For example:
Hashtable configData = new Hashtable(); configData.put(DynamicConfigConstants.DYNA_CONFIG_KEY_DB_ADMIN_PASSWORD, PasswordUtil.getByteArrayPassword("password0")); service.dynamicUpdateConfig(DynamicConfigConstants. DYNA_CONFIG_EVENT_UPDATE_PROPERTY_EXTENSION_ADMIN_PASSWORD, configData);
Parent topic: Program tasks