Change the password for a repository under a federated repositories configuration
Before changing the password for the repository configured under federated repositories, ensure that the WebSphere Application Server is running and the target repository for the password change is configured under the federated repositories configuration. In a WebSphere Application Server, Network Deployment environment, complete these steps on the deployment manager.
- Change the LDAP bind distinguished name (DN) or bind password of an LDAP repository updateIdMgrLDAPBindInfo command
- Use an LDAP tool to change the password of the LDAP repository. Some LDAP repositories require a stop and start
- Update the LDAP password under the federated repository. The change is also reflected in the wimconfig.xml file.
cd app_server_root/bin
./wsadmin.sh
updateIdMgrLDAPBindInfo
- Change the password for a repository using the updateIdMgrDBRepository command
- Start the wsadmin command-line utility. The wsadmin command is found in the app_server_root/bin directory. The wsadmin command session must remain running. If WebSphere Application Server is not started, we need to open a wsadmin command session in local mode. wsadmin -conntype none
If we are starting the wsadmin command session in local mode, ensure that the location of the database driver is specified in the class path using the -wsadmin_classpath option. For information on using this option, see the topic, wsadmin scripting tool in the WebSphere Application Server information center.
- Log in to the Administrative Console for WebSphere Application Server.
- Change the password for the repository.
- From the Administrative Console, change the data source (J2C) password. You access the proper console page by clicking Resources > JDBC > Data sources >data_source> JAAS - J2C authentication data.
- From the Administrative Console, save the changes to the master configuration.
- From the wsadmin prompt, use the updateIdMgrDBRepository command to update the password in the wimconfig.xml file.
- From the wsadmin prompt, save the changes to the master configuration. The following command is used to save the master configuration: $AdminConfig save.
- Restart the WebSphere Application Server.
- Change the password for a repository using the setIdMgrPropertyExtensionRepository command
- Start the wsadmin command-line utility. The wsadmin command is found in the app_server_root/bin directory. The wsadmin command session must remain running. If WebSphere Application Server is not started, we need to open a wsadmin command session in local mode.
wsadmin -conntype none
- Log in to the Administrative Console for WebSphere Application Server.
- Change the password for the repository.
- From the Administrative Console, change the data source (J2C) password. You access the proper console page by clicking Resources > JDBC > Data sources > data_source > JAAS - J2C authentication data.
- From the Administrative Console, save the changes to the master configuration.
- From the wsadmin prompt, use the setIdMgrPropertyExtensionRepository command to update the password in the wimconfig.xml file.
- From the wsadmin prompt, save the changes to the master configuration. The following command is used to save the master configuration: $AdminConfig save.
- Restart the WebSphere Application Server.
- Change the password for a repository using the setIdMgrEntryMappingRepository command
- Start the wsadmin command-line utility. The wsadmin command is found in the app_server_root/bin directory. The wsadmin command session must remain running. If WebSphere Application Server is not started, we need to open a wsadmin command session in local mode.
wsadmin -conntype none
- Log in to the Administrative Console for WebSphere Application Server.
- Change the password for the repository.
- From the Administrative Console, change the data source (J2C) password. You access the proper console page by clicking Resources > JDBC > Data sources >data_source > JAAS - J2C authentication data.
- From the Administrative Console, save the changes to the master configuration.
- From the wsadmin prompt, use the setIdMgrEntryMappingRepository command to update the password in the wimconfig.xml file.
- From the wsadmin prompt, save the changes to the master configuration. The following command is used to save the master configuration: $AdminConfig save.
- Restart the WebSphere Application Server.
- Change the password for a repository using the updateIdMgrLDAPServer command
- Start the wsadmin command-line utility. The wsadmin command is found in the app_server_root/bin directory. The wsadmin command session must remain running. If WebSphere Application Server is not started, we need to open a wsadmin command session in local mode.
wsadmin -conntype none
- Change the password for the repository.
- From the wsadmin prompt, use the updateIdMgrLDAPServer command to update the password in the wimconfig.xml file.
- From the wsadmin prompt, save the changes to the master configuration. The following command is used to save the master configuration: $AdminConfig save.
- Restart the WebSphere Application Server.
The password for the repository has been changed.