This section covers the following topics:
Table of Contents |
---|
Changing the super admin
...
credentials
Follow the instructions below to change the default admin passwordcredentials:
Change the
password in the API-M Management Console (https://localhost:9443/carbon
).After changing the credentials, change the same user credentials in the following files.
The The <UserName> and <Password> values in <APIM_HOME>/repository/conf/user-mgt.xml
file.Code Block language xml <UserManager> <Realm> <Configuration> ... <AdminUser> <UserName>admin</UserName> <Password>admin</Password> </AdminUser> ... </Realm> </UserManager>
Note Note that the password in the
user-mgt.xml
file is written to the primary user store when the server starts for the first time. Thereafter, the password will be validated from the primary user store and not from theuser-mgt.xml
file. Therefore, if you need to change the admin password stored in the user store, you cannot simply change the value in theuser-mgt.xml
file. To change the super admin password, you must use the Change Password option from the management console.To change the password from Management Console (https://localhost:9443/carbon), follow the steps in Changing a Password corresponding to API Manager.
The
<APIM_HOME>/repository/conf/jndi.properties
file.Code Block connectionfactory.TopicConnectionFactory = amqp://admin:admin@clientid/carbon?brokerlist='tcp://localhost:5672' connectionfactory.QueueConnectionFactory = amqp://admin:admin@clientID/test?brokerlist='tcp://localhost:5672'
...