Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Using the admin console, login into MB using admin/admin.
  2. Click Users and Roles in the Configure menu and then click Change My Password.
  3. Enter the current password (admin), the new password and then click Change.
  4. Click OK on the confirmation message that appears.
    In the <MB_HOME>/repository/conf/advanced/qpid-virtualhosts.xml file, update the Password field with the new password. 

    Code Block
    <store> <class>org.wso2.andes.server.store.CassandraMessageStore</class>
    <username>admin</username>
    <password>admin@123</password>
    <cluster>ClusterOne</cluster>
  5. Shut down the MB server and restart it.

  6. The user should be able to login with the new password.

Changing the username/password of both the Cassandra server and MB server

  1. Start the MB cassandra profile using the admin console.
  2. Log in to the management console using admin/admin.
  3. Click Users and Roles in the Configure menu.
  4. Add a new user with super admin permission.
    In the <MB_HOME>/repository/conf/advanced/qpid-virtualhosts.xml file, update the username and password with the user details created above.

    Code Block
    <store>
    <class>org.wso2.andes.server.store.CassandraMessageStore</class>
    <username>admin</username>
    <password>admin</password>
    <cluster>ClusterOne</cluster>
    <idGenerator>org.wso2.andes.server.cluster.coordination.TimeStampBasedMessageIdGenerator</idGenerator>
    <connectionString>localhost:9160</connectionString>
  5. Start MB by pointing to the Cassandra profile server.
  6. Using the admin console, log in to MB using admin/admin.
  7. Click Users and Roles in the Configure menu and then click Change My Password.
  8. Enter the current password (admin), the new password and then click Change.
  9. Click OK on the confirmation message that appears.
Excerpt
hiddentrue

Instructions to change user password in WSO2 products.