Karl Pauls | 4ebe508 | 2006-10-30 15:00:08 +0000 | [diff] [blame] | 1 | # Licensed to the Apache Software Foundation (ASF) under one |
| 2 | # or more contributor license agreements. See the NOTICE file |
| 3 | # distributed with this work for additional information |
| 4 | # regarding copyright ownership. The ASF licenses this file |
| 5 | # to you under the Apache License, Version 2.0 (the |
| 6 | # "License"); you may not use this file except in compliance |
| 7 | # with the License. You may obtain a copy of the License at |
| 8 | # |
| 9 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | # |
| 11 | # Unless required by applicable law or agreed to in writing, |
| 12 | # software distributed under the License is distributed on an |
| 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 14 | # KIND, either express or implied. See the License for the |
| 15 | # specific language governing permissions and limitations |
| 16 | # under the License. |
| 17 | |
Richard S. Hall | 930fecc | 2005-08-16 18:33:34 +0000 | [diff] [blame] | 18 | grant codeBase "file:bundle/shellgui.jar" { |
| 19 | permission org.osgi.framework.ServicePermission "org.ungoverned.osgi.bundle.shellgui.Plugin", "get"; |
| 20 | }; |
| 21 | |
| 22 | grant codeBase "file:bundle/shelltui.jar" { |
| 23 | permission org.osgi.framework.ServicePermission "org.ungoverned.osgi.service.shell.ShellService", "get"; |
| 24 | }; |
| 25 | |
| 26 | grant codeBase "file:bundle/shellplugin.jar" { |
| 27 | permission java.security.AllPermission; |
| 28 | }; |
| 29 | |
| 30 | grant codeBase "file:bundle/bundlerepository.jar" { |
| 31 | permission java.security.AllPermission; |
| 32 | }; |
| 33 | |
| 34 | grant codeBase "file:bundle/permissionmanager.jar" { |
| 35 | permission java.security.AllPermission; |
| 36 | }; |
| 37 | |
| 38 | grant codeBase "file:bundle/shell.jar" { |
| 39 | permission java.security.AllPermission; |
| 40 | }; |
| 41 | |
| 42 | grant codeBase "file:${lib.dir}/felix.jar" { |
| 43 | permission java.security.AllPermission; |
| 44 | }; |
| 45 | |
| 46 | grant codeBase "file:${lib.dir}/osgi.jar" { |
| 47 | permission java.security.AllPermission; |
| 48 | }; |
| 49 | |
| 50 | grant codeBase "file:${lib.dir}/moduleloader.jar" { |
| 51 | permission java.security.AllPermission; |
| 52 | }; |
| 53 | |
| 54 | grant { |
| 55 | permission java.io.FilePermission "${user.home}${file.separator}.felix${file.separator}-", "read, write, delete"; |
| 56 | permission org.osgi.framework.PackagePermission "*", "EXPORT"; |
| 57 | }; |