By default, Workbench authenticates itself to the Endeca Configuration Repository using the JCR repository's administrator credentials. These are the admin user credentials that you initially specify when you install Tools and Frameworks.

Workbench uses Oracle Wallet, a file-based credential store, to safely store administrator authentication credentials. The credential store is represented as cwallet.sso and is located at ToolsAndFrameworks\<version>\server\workspace\credential_store. The administrator credential in the store is composed of a user name and password that is uniquely identified by a map name and a credentials key combination. Therefore, one set of credentials containing a map name and a credentials key maps to one set of a username and a password pair. This map name and credentials key for the administrator user are stored as properties in the WorkbenchConfig.xml file.

<custom-bean id="csfManager" class="com.endeca.soleng.eac.toolkit.util.CSFManager">
      <property name="jpsConfigPath" value="C:\Endeca\ToolsAndFrameworks\11.2.0\server\workspace\credential_store\jps-config.xml" />
      <property name="mapName" value="endecaToolsAndFrameworks"/>
</custom-bean>

    <custom-component id="IFCR" host-id="ITLHost" class="com.endeca.soleng.eac.toolkit.component.IFCRComponent">
      <properties>
        <property name="repositoryUrl" value="http://@@HOST@@:@@WORKBENCH_PORT@@/ifcr" />
        <property name="numExportBackups" value="3" />
        <property name="credentialsKey" value="ifcr"/>
      </properties>
      <custom-bean ref="csfManager"/>
    </custom-component>

To specify the Workbench authentication credentials for the Endeca Configuration Repository:

  1. Change the administrator password in the Endeca Configuration Repository by submitting a POST request to http://<WorkbenchHost>:8006/ifcr/system/userManager/user/admin.changePassword.json with the following parameters:

    The following is an example using the curl tool:

    curl -FoldPwd=admin -FnewPwd=newpassword -FnewPwdConfirm=newpassword \
    http://admin:admin@localhost:8006/ifcr/system/userManager/user/admin.changePassword.json
  2. Update the administrator credentials used by Deployment Template scripts to connect to the Endeca Configuration Repository. Workbench stores these credentials in the Oracle Wallet credentials store.

  3. Update the credentials that Workbench uses to connect to the Endeca Configuration Repository.

For further information about Sling user management, consult the Apache documentation.


Copyright © Legal Notices