This procedure assumes you have just completed To Create a Test Referral Policy in the Access Manager Root Realm.
In the Access Manager console, under the Access Control tab, click the users realm link.
Click the Policies tab.
Under Policies, click New Policy.
In the Name field, enter URL Policy for ApplicationServer-1.
Under Rules, click New.
On the resulting page, make sure the default URL Policy Agent (with resource name) is selected and click Next.
On the resulting page, provide the following information and click Finish.
agentsample
From the list, select http://protectedresource-1.example.com:1081/agentsample/*
The value of this property is populated when you select the Parent Resource Name. It should read http://protectedresource-1.example.com:1081/agentsample/*.
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.
The groups are now displayed in the Selected list.
Click Finish.
Click OK.
The new policy subject is included in the list of Policies.
Log out of the Access Manager console.