Configure PolicyCenter-to-ContactManager authentication
Guidewire recommends that you change the user name and password that PolicyCenter uses to authenticate with ContactManager.
Procedure
-
Start ContactManager.
At a command prompt, navigate to the ContactManager installation folder and enter the following command:
gwb runServer -
Log in as a user who can create new ContactManager users.
For example, log in with user name su and password gw.
- Click the Administration tab, and then navigate to .
-
Enter the following values:
Name
Value
First Name
PC
Last Name
NewAuthUser
Username
PCNewAuthUser
Password
Xc8899Lm
Confirm Password
Xc8899Lm
Active
Yes
Locked
No
- Under Roles, click Add.
- Click the Name field and choose Client Application.
- Click Update.
-
Start Guidewire Studio for PolicyCenter.
At a command prompt, navigate to the PolicyCenter installation folder and enter the following command:
gwb studio - Press Ctrl+N and enter ABConfigurationProvider, and then click the class name in the search results to open it in the editor.
-
Change the
UsernameandPassworddefinition in the configure method.For example, change the values toPCNewAuthUserandXc8899Lm, as follows:override function configure( serviceName : QName, portName : QName, config : WsdlConfig ) { config.Guidewire.Authentication.Username = "PCNewAuthUser" config.Guidewire.Authentication.Password = "Xc8899Lm" } - In the Project window, navigate to and then to wsi.remote.gw.webservice.ab.ab1000.wsc.
- Double-click the ab1000.wsc web services collection to open the editor.
-
In the editor, click
${ab}/ws/gw/webservice/ab/ab1000/abcontactapi/ABContactAPI?wsdl. -
With ContactManager still running, click Fetch
.
- When the update finishes, stop the PolicyCenter server if it is running, and then restart it to pick up this change.
- Log in to PolicyCenter as a user with permission to search for and change contacts, such as user name aapplegate with password gw.
- 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.
