Network Deployment (Distributed operating systems), v8.0 > Secure applications and their environment > Authenticate users > Select a registry or repository > Manage realms in a federated repository


Change the password for a repository under a federated repositories configuration

Passwords allow security control over the repositories under a federated repositories configuration. As part of managing the realm in a federated repository, one of the optional tasks you can perform is to change the password of an individual repository that is under a federated repositories configuration.

In a WAS ND environment, complete these steps on the dmgr.


Change password with updateIdMgrLDAPBindInfo

Use the following steps to change the LDAP bind distinguished name or bind password of an LDAP repository.

  1. Start wsadmin.sh

      cd WAS_HOME/bin
      ./wsadmin.sh

  2. Use an LDAP tool to change the password of the LDAP repository. Restart LDAP repository if necessary.

  3. Update LDAP password under the federated repository and in wimconfig.xml.

      $AdminTask updateIdMgrLDAPBindInfo

    To display help...

      $AdminTask help updateIdMgrLDAPBindInfo


Change password using updateIdMgrDBRepository

  1. Start wsadmin.sh

      cd WAS_HOME/bin
      ./wsadmin.sh

    The wsadmin command session must remain running. If WAS is not started, open a wsadmin command session in local mode. ...

      wsadmin -conntype none

    Ensure that the location of the database driver is specified in the class path using the wsadmin_classpath option.

  2. Log in to the Administrative Console for WAS.

  3. Change the password for the repository.

  4. From the Administrative Console, change the data source (J2C) password...

      Resources | JDBC | Data sources | data_source | JAAS - J2C authentication data

  5. From the Administrative Console, save changes to the master configuration.

  6. From the wsadmin prompt, use updateIdMgrDBRepository to update the password in the wimconfig.xml file.

  7. Save changes to the master configuration...

      $AdminConfig save

  8. Restart the WAS.


Change password with setIdMgrPropertyExtensionRepository

  1. Start wsadmin.sh

      cd WAS_HOME/bin
      ./wsadmin.sh

    The wsadmin command session must remain running. If WAS is not started, open a wsadmin command session in local mode.

      wsadmin -conntype none

  2. Log in to the Administrative Console for WAS.

  3. Change the password for the repository.

  4. From the Administrative Console, change the data source (J2C) password....

      Resources | JDBC | Data sources | data_source | JAAS - J2C authentication data

  5. From the Administrative Console, save changes to the master configuration.

  6. From the wsadmin prompt, use setIdMgrPropertyExtensionRepository to update the password in the wimconfig.xml file.

  7. Save changes to the master configuration...

      $AdminConfig save

  8. Restart the WAS.


Change password with setIdMgrEntryMappingRepository

  1. Start wsadmin.sh

      cd WAS_HOME/bin
      ./wsadmin.sh

    The wsadmin command session must remain running. If WAS is not started, open a wsadmin command session in local mode.

      wsadmin -conntype none

  2. Log in to the Administrative Console for WAS.

  3. Change the password for the repository.

  4. From the Administrative Console, change the data source (J2C) password.

      Resources | JDBC | Data sources | data_source | JAAS - J2C authentication data

  5. From the Administrative Console, save changes to the master configuration.

  6. From the wsadmin prompt, use setIdMgrEntryMappingRepository to update the password in the wimconfig.xml file.

  7. Save changes to the master configuration...

      $AdminConfig save

  8. Restart the WAS.


Change password with updateIdMgrLDAPServer

  1. Start wsadmin.sh

      cd WAS_HOME/bin
      ./wsadmin.sh

    The wsadmin command session must remain running. If WAS is not started, open a wsadmin command session in local mode.

      wsadmin -conntype none

  2. Change the password for the repository.

  3. From the wsadmin prompt, use updateIdMgrLDAPServer to update the password in the wimconfig.xml file.

  4. Save changes to the master configuration...

      $AdminConfig save

  5. Restart the WAS.

Manage realms in a federated repository

+

Search Tips   |   Advanced Search