Configure PolicyCenter-to-ContactManager authentication

Guidewire recommends that you change the user name and password that PolicyCenter uses to authenticate with ContactManager.

Procedure

  1. Start ContactManager.

    At a command prompt, navigate to the ContactManager installation folder and enter the following command:

    gwb runServer
  2. Log in as a user who can create new ContactManager users.
    For example, log in with user name su and password gw.
  3. Click the Administration tab, and then navigate to Actions > New User.
  4. Enter the following values:

    Name

    Value

    First Name

    PC

    Last Name

    NewAuthUser

    Username

    PCNewAuthUser

    Password

    Xc8899Lm

    Confirm Password

    Xc8899Lm

    Active

    Yes

    Locked

    No

  5. Under Roles, click Add.
  6. Click the Name field and choose Client Application.
  7. Click Update.
  8. Start Guidewire Studio for PolicyCenter.

    At a command prompt, navigate to the PolicyCenter installation folder and enter the following command:

    gwb studio
  9. Press Ctrl+N and enter ABConfigurationProvider, and then click the class name in the search results to open it in the editor.
  10. Change the Username and Password definition in the configure method.
    For example, change the values to PCNewAuthUser and Xc8899Lm, as follows:
    override function configure( serviceName : QName, portName : QName, config : WsdlConfig )  {
      config.Guidewire.Authentication.Username = "PCNewAuthUser"
      config.Guidewire.Authentication.Password = "Xc8899Lm"
    }
  11. In the Project window, navigate to configuration > gsrc and then to wsi.remote.gw.webservice.ab.ab1000.wsc.
  12. Double-click the ab1000.wsc web services collection to open the editor.
  13. In the editor, click ${ab}/ws/gw/webservice/ab/ab1000/abcontactapi/ABContactAPI?wsdl.
  14. With ContactManager still running, click Fetch .
  15. When the update finishes, stop the PolicyCenter server if it is running, and then restart it to pick up this change.
  16. Log in to PolicyCenter as a user with permission to search for and change contacts, such as user name aapplegate with password gw.
  17. Verify that you can use the Contact tab to search for ContactManager contacts. You can be sure that a contact is stored in ContactManager if its External field has the value Yes. For example, search for the person Adam Hinds, a client contact in the ContactManager sample data.