WAS v8.5 > Administering applications and their environment > Administering the Liberty profile > Administering the Liberty profile manually > Connect to the Liberty profile using JMX > Configuring secure JMX connection to the Liberty profileMap the administrator role for the Liberty profile
We can use quickStartSecurity element or any supported user registries for the administrator role mapping on the Liberty profile. All the JMX methods and MBeans accessed through the REST connector are currently protected by a single role named "administrator". To get started quickly, use quickStartSecurity element to configure a single user with administrator role and configure the default SSL configuration.
We can also use any supported user registry. We cannot use quickStartSecurity element if we have already configured another user registry. In this case, we have to map users or roles from the registry to the administrator role.
- Use quickStartSecurity element for a single user mapping.
Here is an example showing the minimal required configuration:
< featureManager> <feature>restConnector-1.0</feature> </featureManager> < quickStartSecurity userName="bob" userPassword="bobpassword" /> < keyStore id="defaultKeyStore" password="keystorePassword"/>- Or use the basic registry for administrator role mapping.
Here is an example of the basic registry that gives the user "bob" or the group "group1" administrator role:
< basicRegistry> <user name="bob" password="bobpassword"/> <user name="joe" password="joepassword"/> <group name="group1" ...> </group> </basicRegistry> <administratorRole> <user>bob</user> <group>group1</group> </administratorRole>- Or use the LDAP registry for administrator role mapping.
Here is an example of the LDAP registry that gives the user "bob" administrator role.
< ldapRegistry" port=""> <tds.properties ... /> </ldapRegistry> <adminstratorRole> <user>cn=bob,o=ibm,c=us</user> </administratorRole>
Parent topic: Configuring secure JMX connection to the Liberty profile
Related
Connect to the Liberty profile using JMX
Reference:
Liberty profile: Configuration elements in server.xml
Task topic
Terms and conditions for information centers | Feedback