|
Java example source code file (security.policy)
The security.policy Java example source code/* * security policy used by the test process */ grant codeBase "file:${java.home}/lib/ext/*" { permission java.security.AllPermission; }; grant { // permissions needed to move classes into separate codebase directories permission java.io.FilePermission "${test.src}${/}-", "read"; permission java.io.FilePermission "${test.classes}${/}-", "read,write,delete"; permission java.io.FilePermission ".${/}-", "read,write,delete"; // used by TestLibrary to determine test environment permission java.util.PropertyPermission "test.classes", "read"; permission java.util.PropertyPermission "test.src", "read"; permission java.util.PropertyPermission "user.dir", "read"; permission java.util.PropertyPermission "java.home", "read"; permission java.util.PropertyPermission "java.rmi.server.RMIClassLoaderSpi", "read,write"; }; Other Java examples (source code examples)Here is a short list of links related to this Java security.policy source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.