38 lines
1.2 KiB
Plaintext
38 lines
1.2 KiB
Plaintext
/*
|
|
* ===========================================================================
|
|
* 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";
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|