blob: 1c8a7cfec2cf097232f7b3a4b8eb3e3334ca1f33 [file] [log] [blame]
Karl Pauls4ebe5082006-10-30 15:00:08 +00001# 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. Hall930fecc2005-08-16 18:33:34 +000018grant codeBase "file:bundle/shellgui.jar" {
19 permission org.osgi.framework.ServicePermission "org.ungoverned.osgi.bundle.shellgui.Plugin", "get";
20};
21
22grant codeBase "file:bundle/shelltui.jar" {
23 permission org.osgi.framework.ServicePermission "org.ungoverned.osgi.service.shell.ShellService", "get";
24};
25
26grant codeBase "file:bundle/shellplugin.jar" {
27 permission java.security.AllPermission;
28};
29
30grant codeBase "file:bundle/bundlerepository.jar" {
31 permission java.security.AllPermission;
32};
33
34grant codeBase "file:bundle/permissionmanager.jar" {
35 permission java.security.AllPermission;
36};
37
38grant codeBase "file:bundle/shell.jar" {
39 permission java.security.AllPermission;
40};
41
42grant codeBase "file:${lib.dir}/felix.jar" {
43 permission java.security.AllPermission;
44};
45
46grant codeBase "file:${lib.dir}/osgi.jar" {
47 permission java.security.AllPermission;
48};
49
50grant codeBase "file:${lib.dir}/moduleloader.jar" {
51 permission java.security.AllPermission;
52};
53
54grant {
55 permission java.io.FilePermission "${user.home}${file.separator}.felix${file.separator}-", "read, write, delete";
56 permission org.osgi.framework.PackagePermission "*", "EXPORT";
57};