A security policy file contains the security settings for one or more security domains. Security domain requestors use a security token file that you generate from a security policy file to connect to a metaspace contained in the Metaspace Access List for a security domain that is defined in the security policy file.
Applications that connect to a metaspace listed in the Metaspace Access List for a security domain in a security policy file use the security policy file to become security domain controllers for the metaspace.
Applications that connect to a metaspace listed in the Metaspace Access List for a security domain in a security policy file, but do not use the security policy file to connect to the metaspace, become security domain requestors for the metaspace.
In general, you should require the security domain requestor to connect to a metaspace using a security token file that is generated from the security policy file. See '
Security Domain Requestors and
Security Token Files for more information on security domain requestors and security token files.
Attention: When using security, the Discovery URL is set on both, the policy and token files. Members using either the policy or the token file should not explicitly specify the Discovery URL in the properties of
MemberDef.
You can also choose the less secure method of allowing connections without a security token. This is a weaker security solution, but is easier to deploy.
Attention: Remember that Access Control Lists (ACLs) are enforced with respect to the definition of the policy file and not the settings in the LDAP, that is if you have an LDAP server used for authentication.