1 /* 2 * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * This code is free software; you can redistribute it and/or modify it 6 * under the terms of the GNU General Public License version 2 only, as 7 * published by the Free Software Foundation. Oracle designates this 8 * particular file as subject to the "Classpath" exception as provided 9 * by Oracle in the LICENSE file that accompanied this code. 10 * 11 * This code is distributed in the hope that it will be useful, but WITHOUT 12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 * version 2 for more details (a copy is included in the LICENSE file that 15 * accompanied this code). 16 * 17 * You should have received a copy of the GNU General Public License version 18 * 2 along with this work; if not, write to the Free Software Foundation, 19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 * 21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 * or visit www.oracle.com if you need additional information or have any 23 * questions. 24 */ 25 26 package sun.security.util; 27 28 29 @SuppressWarnings({"unchecked", "deprecation", "all"}) 30 public final class SecurityConstants { 31 SecurityConstants()32 private SecurityConstants() { 33 throw new RuntimeException("Stub!"); 34 } 35 36 public static final java.security.AllPermission ALL_PERMISSION; 37 38 static { 39 ALL_PERMISSION = null; 40 } 41 42 public static final java.lang.RuntimePermission CHECK_MEMBER_ACCESS_PERMISSION; 43 44 static { 45 CHECK_MEMBER_ACCESS_PERMISSION = null; 46 } 47 48 public static final java.security.SecurityPermission CREATE_ACC_PERMISSION; 49 50 static { 51 CREATE_ACC_PERMISSION = null; 52 } 53 54 @android.compat.annotation.UnsupportedAppUsage 55 public static final java.lang.RuntimePermission CREATE_CLASSLOADER_PERMISSION; 56 57 static { 58 CREATE_CLASSLOADER_PERMISSION = null; 59 } 60 61 public static final java.lang.String FILE_DELETE_ACTION = "delete"; 62 63 public static final java.lang.String FILE_EXECUTE_ACTION = "execute"; 64 65 public static final java.lang.String FILE_READLINK_ACTION = "readlink"; 66 67 public static final java.lang.String FILE_READ_ACTION = "read"; 68 69 public static final java.lang.String FILE_WRITE_ACTION = "write"; 70 71 @android.compat.annotation.UnsupportedAppUsage 72 public static final java.lang.RuntimePermission GET_CLASSLOADER_PERMISSION; 73 74 static { 75 GET_CLASSLOADER_PERMISSION = null; 76 } 77 78 public static final java.security.SecurityPermission GET_COMBINER_PERMISSION; 79 80 static { 81 GET_COMBINER_PERMISSION = null; 82 } 83 84 public static final java.net.NetPermission GET_COOKIEHANDLER_PERMISSION; 85 86 static { 87 GET_COOKIEHANDLER_PERMISSION = null; 88 } 89 90 public static final java.lang.RuntimePermission GET_PD_PERMISSION; 91 92 static { 93 GET_PD_PERMISSION = null; 94 } 95 96 public static final java.security.SecurityPermission GET_POLICY_PERMISSION; 97 98 static { 99 GET_POLICY_PERMISSION = null; 100 } 101 102 public static final java.net.NetPermission GET_PROXYSELECTOR_PERMISSION; 103 104 static { 105 GET_PROXYSELECTOR_PERMISSION = null; 106 } 107 108 public static final java.net.NetPermission GET_RESPONSECACHE_PERMISSION; 109 110 static { 111 GET_RESPONSECACHE_PERMISSION = null; 112 } 113 114 public static final java.lang.RuntimePermission GET_STACK_TRACE_PERMISSION; 115 116 static { 117 GET_STACK_TRACE_PERMISSION = null; 118 } 119 120 public static final java.net.SocketPermission LOCAL_LISTEN_PERMISSION; 121 122 static { 123 LOCAL_LISTEN_PERMISSION = null; 124 } 125 126 @android.compat.annotation.UnsupportedAppUsage 127 public static final java.lang.RuntimePermission MODIFY_THREADGROUP_PERMISSION; 128 129 static { 130 MODIFY_THREADGROUP_PERMISSION = null; 131 } 132 133 @android.compat.annotation.UnsupportedAppUsage 134 public static final java.lang.RuntimePermission MODIFY_THREAD_PERMISSION; 135 136 static { 137 MODIFY_THREAD_PERMISSION = null; 138 } 139 140 public static final java.lang.String PROPERTY_READ_ACTION = "read"; 141 142 public static final java.lang.String PROPERTY_RW_ACTION = "read,write"; 143 144 public static final java.lang.String PROPERTY_WRITE_ACTION = "write"; 145 146 public static final java.net.NetPermission SET_COOKIEHANDLER_PERMISSION; 147 148 static { 149 SET_COOKIEHANDLER_PERMISSION = null; 150 } 151 152 public static final java.net.NetPermission SET_PROXYSELECTOR_PERMISSION; 153 154 static { 155 SET_PROXYSELECTOR_PERMISSION = null; 156 } 157 158 public static final java.net.NetPermission SET_RESPONSECACHE_PERMISSION; 159 160 static { 161 SET_RESPONSECACHE_PERMISSION = null; 162 } 163 164 public static final java.lang.String SOCKET_ACCEPT_ACTION = "accept"; 165 166 public static final java.lang.String SOCKET_CONNECT_ACCEPT_ACTION = "connect,accept"; 167 168 public static final java.lang.String SOCKET_CONNECT_ACTION = "connect"; 169 170 public static final java.lang.String SOCKET_LISTEN_ACTION = "listen"; 171 172 public static final java.lang.String SOCKET_RESOLVE_ACTION = "resolve"; 173 174 public static final java.net.NetPermission SPECIFY_HANDLER_PERMISSION; 175 176 static { 177 SPECIFY_HANDLER_PERMISSION = null; 178 } 179 180 public static final java.lang.RuntimePermission STOP_THREAD_PERMISSION; 181 182 static { 183 STOP_THREAD_PERMISSION = null; 184 } 185 } 186