ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzaha_5.4.0.1/threadJaas.policy

38 lines
1.2 KiB
Plaintext
Raw Permalink Normal View History

2024-04-02 14:02:31 +00:00
/*
* ===========================================================================
* Code disclaimer information
* This document contains programming examples.
*
* IBM grants you a nonexclusive copyright license to use all
* programming code examples from which you can generate similar function
* tailored to your own specific needs.
*
* All sample code is provided by IBM for illustrative purposes only. These
* examples have not been thoroughly tested under all conditions. IBM,
* therefore, cannot guarantee or imply reliability, serviceability, or
* function of these programs.
*
* All programs contained herein are provided to you "AS IS" without any
* warranties of any kind. The implied warranties of non-infringement,
* merchantability and fitness for a particular purpose are expressly disclaimed.
* ===========================================================================
*/
/**** Subject-based permission policy file ****/
grant
Principal com.ibm.as400.security.auth.UserProfilePrincipal "JAAS13",
{
permission java.util.PropertyPermission "java.home", "read";
permission java.util.PropertyPermission "user.home", "read";
permission java.io.FilePermission "thread.txt", "read,write,execute";
};