Use the OpenSSO Enterprise console to configure policy for the web policy agents. The policies you create here are used in To Verify the Web Policy Agents Load Balancer Configuration is Working Properly.
Access https://osso-1.example.com:1081/opensso/console from a web browser.
Log in to the OpenSSO Enterprise console as the administrator.
amadmin
ossoadmin
Under the Access Control tab, click / (Top Level Realm).
Click the Policies tab.
Click New Policy.
The New Policy page is displayed.
On the New Policy page, enter URL Policy for LoadBalancer-4 in the Name field.
Click New under Rules.
The New Rules page is displayed.
On the New Rules page, accept the default URL Policy Agent (with resource name) and click Next.
On the resulting page, provide the following information.
Rule for LoadBalancer-4.
http://lb-4.example.com:90/*
Mark this checkbox and verify that Allow is selected.
Mark this checkbox and verify that Allow is selected.
Click Finish.
The New Policy page is displayed again.
On the New Policy page, click New under Subjects.
The New Subjects page is displayed.
On the New Subjects page, verify that Access Manager Identity Subject is selected and click Next.
On the resulting page, provide the following information.
Subject for LoadBalancer-4.
From the drop-down list, select User and click Search. The search returns a list of available users.
From the generated User list, select testuser1 and click Add. testuser1 is displayed in the Selected List.
Click Finish.
The New Policy page is displayed again.
On the New Policy page, click OK.
The completed policy is now included in the list of Policies.
Log out of the OpenSSO Enterprise console and close the browser.