blob: 55adc6e6fd46699a1c75220969b7354a47d6d81a [file] [log] [blame]
/*
* Copyright (c) 2013, 2018 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0, which is available at
* http://www.eclipse.org/legal/epl-2.0.
*
* This Source Code may also be made available under the following Secondary
* Licenses when the conditions for such availability set forth in the
* Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
* version 2 with the GNU Classpath Exception, which is available at
* https://www.gnu.org/software/classpath/license.html.
*
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
*/
// App-client EE permissions
grant codebase "file:/module/Car" {
permission java.awt.AWTPermission "accessClipboard";
permission java.awt.AWTPermission "accessEventQueue";
permission java.awt.AWTPermission "showWindowWithoutWarningBanner";
permission java.lang.RuntimePermission "loadLibrary.*";
permission java.lang.RuntimePermission "accessClassInPackage.*";
permission java.lang.RuntimePermission "exitVM";
permission java.lang.RuntimePermission "queuePrintJob";
permission java.lang.RuntimePermission "modifyThreadGroup";
permission java.net.SocketPermission "*", "connect,accept,resolve";
permission java.net.SocketPermission "localhost:1024-", "accept,listen";
permission java.io.FilePermission "<<ALL FILES>>", "read,write";
permission java.util.PropertyPermission "*", "read";
// setting the JSSE provider for lazy authentication of app. clients.
// Please do not change it.
permission java.security.SecurityPermission "putProviderProperty.SunJSSE";
permission java.security.SecurityPermission "insertProvider.SunJSSE";
permission java.util.logging.LoggingPermission "control";
};
// Applet-client EE permissions
grant codebase "file:/module/Applet-Client" {
permission java.net.SocketPermission "*", "connect";
permission java.util.PropertyPermission "*", "read";
};