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.
The Policies page is displayed.
Click New Policy.
Enter URL Policy for Application Server-2 in the Name field.
Under Rules, click New.
On the resulting page, select URL Policy Agent (with Resource Name) and click Next.
On the resulting page, provide the following information and click Finish.
agentsample
http://pr-2.example.com:1081/agentsample/*
Make sure the hostname is typed in lowercase.
Mark this check box and verify that Allow is selected.
Mark this check box and verify that Allow is selected.
The rule agentsample is now added to the list of Rules.
Under Subjects, click New.
On the resulting page, select Access Manager Identity Subject and click Next.
On the resulting page, provide the following information and click Search.
agentsampleGroup
Select Group.
Manager-Group and Employee-Group are displayed in the Available list.
Select Manager-Group and Employee-Group and click Add.
Manager-Group and Employee-Group are displayed in the Selected list.
Click Finish.
Click OK.
The new policy is displayed in the list of policies.
Click Back to Access Control.
Log out of the OpenSSO Enterprise console.