01: /*
02: * Licensed to the Apache Software Foundation (ASF) under one or more
03: * contributor license agreements. See the NOTICE file distributed with
04: * this work for additional information regarding copyright ownership.
05: * The ASF licenses this file to You under the Apache License, Version 2.0
06: * (the "License"); you may not use this file except in compliance with
07: * the License. You may obtain a copy of the License at
08: *
09: * http://www.apache.org/licenses/LICENSE-2.0
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS,
13: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14: * See the License for the specific language governing permissions and
15: * limitations under the License.
16: */
17: package org.apache.harmony.lang;
18:
19: /**
20: * @author Evgueni Brevnov, Roman S. Bushmanov
21: * @version $Revision: 1.1.6.4 $
22: */
23: public interface RuntimePermissionCollection {
24:
25: RuntimePermission ACCESS_DECLARED_MEMBERS_PERMISSION = new RuntimePermission(
26: "accessDeclaredMembers");
27:
28: RuntimePermission CRAETE_SECURITY_MANAGER_PERMISSION = new RuntimePermission(
29: "createSecurityManager");
30:
31: RuntimePermission CREATE_CLASS_LOADER_PERMISSION = new RuntimePermission(
32: "createClassLoader");
33:
34: RuntimePermission EXIT_VM_PERMISSION = new RuntimePermission(
35: "exitVM");
36:
37: RuntimePermission GET_CLASS_LOADER_PERMISSION = new RuntimePermission(
38: "getClassLoader");
39:
40: RuntimePermission GET_PROTECTION_DOMAIN_PERMISSION = new RuntimePermission(
41: "getProtectionDomain");
42:
43: RuntimePermission GET_STACK_TRACE_PERMISSION = new RuntimePermission(
44: "getStackTrace");
45:
46: RuntimePermission GETENV_PERMISSION = new RuntimePermission(
47: "getenv.*");
48:
49: RuntimePermission MODIFY_THREAD_GROUP_PERMISSION = new RuntimePermission(
50: "modifyThreadGroup");
51:
52: RuntimePermission MODIFY_THREAD_PERMISSION = new RuntimePermission(
53: "modifyThread");
54:
55: RuntimePermission QUEUE_PRINT_JOB_PERMISSION = new RuntimePermission(
56: "queuePrintJob");
57:
58: RuntimePermission READ_FILE_DESCRIPTOR_PERMISSION = new RuntimePermission(
59: "readFileDescriptor");
60:
61: RuntimePermission SET_CONTEXT_CLASS_LOADER_PERMISSION = new RuntimePermission(
62: "setContextClassLoader");
63:
64: RuntimePermission SET_DEFAULT_UNCAUGHT_EXCEPTION_HANDLER_PERMISSION = new RuntimePermission(
65: "setDefaultUncaughtExceptionHandler");
66:
67: RuntimePermission SET_FACTORY_PERMISSION = new RuntimePermission(
68: "setFactory");
69:
70: RuntimePermission SET_IO_PERMISSION = new RuntimePermission("setIO");
71:
72: RuntimePermission SET_SECURITY_MANAGER_PERMISSION = new RuntimePermission(
73: "setSecurityManager");
74:
75: RuntimePermission SHUTDOWN_HOOKS_PERMISSION = new RuntimePermission(
76: "shutdownHooks");
77:
78: RuntimePermission STOP_THREAD_PERMISSION = new RuntimePermission(
79: "stopThread");
80:
81: RuntimePermission WRITE_FILE_DESCRIPTOR_PERMISSION = new RuntimePermission(
82: "writeFileDescriptor");
83: }
|