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 adding a new participating base entry to a realm
Use this procedure to add a new participating base entry to a realm.
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_ADD_PARTICIPATING_BASE_ENTRY
Configuration Data
DYNA_CONFIG_KEY_BASE_ENTRY (required) - [String]
Base entry to be added.
DYNA_CONFIG_KEY_REALM_NAME (required) - [String]
Name of the realm. The following is a sample task:
Procedure
- Ensure that virtual member manager is running.
- Add the base entry in to the realm as a participantingBaseEntry For example:
Hashtable configData = new Hashtable(); String realmName = "YourCo"; configData.put(Service.DYNA_CONFIG_KEY_REALM_NAME,realmName); configData.put(Service.DYNA_CONFIG_KEY_BASE_ENTRY,"cn=realmusers,dc=yourco,dc=com"); service.dynamicUpdateConfig(Service.DYNA_CONFIG_EVENT_ADD_PARTICIPATING_BASE_ENTRY, configData);
Parent topic: Program tasks