Switching from LDAP back to basicRegistry

Cloud APM uses the WebSphere® Application Server Liberty profile basic registry as the default method for user authentication.

Procedure

  1. Stop all components and services: apm stop_all
  2. Open install_dir/wlp/usr/shared/config/commonRegistry.xml and comment out the ldapRegistry entry and uncomment the basicRegistry entry, or alternatively revert to a backup copy.
  3. Open install_dir/wlp/usr/shared/config/oauth_variables_onPrem.xml and update the oauthRealm value to CustomRealm, or alternatively revert to a backup copy.
  4. Navigate to the install_dir/wlp/usr/servers/server1/cscs/conf directory. Create a file called cscsRoleAdmin.new. Add a user: user:customRealm/apmadmin.
    Note: Do not modify the cscsRoleAdmin.conf file directly.
  5. Start all component and services: apm start_all