To connect to the site that is syndicating
content for the syndication channel, you must add a permission statement
to the policy file that grants permission to the SAS Information Delivery
Portal to connect to the site.
To add a permission
statement to the policy file, add a statement with the following format:
permission java.net.SocketPermission
"machine.domain:80",
"connect, resolve";
where
machine.domain is
the domain-qualified host on which the XML file for the syndicated
content is located.
When the SAS Information
Delivery Portal's machine is running IPv6, the
machine.domain:80 host
address format might not be valid for the permission statement. In
these cases, you must either enable all socket permissions or determine
the appropriate host address format to use in the policy file.
For example, if you
want to add a syndication channel from rssnews.acme.com, make a copy
of the example file located in the
SAS-configuration-directory\Lev1\Web\Common\SASServer1\SASPortal4.3\PolicyFileInputs\ears\sas.portal
directory, and add the following
statement about rssnews and its port number:
grant codeBase "file:${sas.deploy.dir}/sas.portal4.3ear/-" {
...
permission java.net.SocketPermission
"rssnews.acme.com:80", "accept,connect,listen,resolve";
...
};