Access http://LoadBalancer-3.example.com:7070/amserver/UI/Login, the Access Manager load balancer, from a web browser.
Log in to the Access Manager console as the administrator.
amadmin
4m4dmin1
Under the Access Control tab, click the example realm link.
Click the Policies tab.
Under Policies, click the Referral URL Policy for users realm link.
On the Edit Policy page, 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.
URL Policy for ApplicationServer-2
http://protectedresource-2.example.com:1081/agentsample/*
Make sure the hostname is typed in lowercase.
On the resulting page, click Save.