Searched refs:NetPermission (Results 1 - 14 of 14) sorted by relevance
/openjdk10/jdk/src/java.base/share/classes/sun/security/util/ |
H A D | SecurityConstants.java | 29 import java.net.NetPermission; 75 public static final NetPermission SPECIFY_HANDLER_PERMISSION = 76 new NetPermission("specifyStreamHandler"); 79 public static final NetPermission SET_PROXYSELECTOR_PERMISSION = 80 new NetPermission("setProxySelector"); 83 public static final NetPermission GET_PROXYSELECTOR_PERMISSION = 84 new NetPermission("getProxySelector"); 87 public static final NetPermission SET_COOKIEHANDLER_PERMISSION = 88 new NetPermission("setCookieHandler"); 91 public static final NetPermission GET_COOKIEHANDLER_PERMISSIO [all...] |
/openjdk10/jdk/src/java.base/share/classes/java/net/ |
H A D | NetPermission.java | 35 * A NetPermission contains a name (also referred to as a "target name") but 46 * The following table lists all the possible NetPermission target names, 173 public final class NetPermission extends BasicPermission { class in inherits:BasicPermission 177 * Creates a new NetPermission with the specified name. 178 * The name is the symbolic name of the NetPermission, such as 183 * @param name the name of the NetPermission. 189 public NetPermission(String name) method in class:NetPermission 195 * Creates a new NetPermission object with the specified name. 196 * The name is the symbolic name of the NetPermission, and the 199 * @param name the name of the NetPermission 206 public NetPermission(String name, String actions) method in class:NetPermission [all...] |
H A D | Authenticator.java | 111 * {@code NetPermission("setDefaultAuthenticator")} permission. 123 * @see java.net.NetPermission 128 NetPermission setDefaultPermission 129 = new NetPermission("setDefaultAuthenticator"); 140 * {@code NetPermission("requestPasswordAuthentication")} permission. 153 * @see java.net.NetPermission 158 NetPermission requestPermission 159 = new NetPermission("requestPasswordAuthentication"); 171 * {@code NetPermission("requestPasswordAuthentication")} permission. 190 * @see java.net.NetPermission [all...] |
H A D | NetworkInterface.java | 109 * {@link NetPermission}("getNetworkInformation") permission, then all 128 * {@link NetPermission}("getNetworkInformation") permission, then all 146 sec.checkPermission(new NetPermission("getNetworkInformation")); 480 * the permission {@link NetPermission}("getNetworkInformation"). 485 * NetPermission("getNetworkInformation") 494 sec.checkPermission(new NetPermission("getNetworkInformation"));
|
H A D | HttpURLConnection.java | 463 * NetPermission is not granted. 480 s.checkPermission(new NetPermission("allowHttpTrace"));
|
/openjdk10/jdk/test/java/security/BasicPermission/ |
H A D | MixedBasicPermissions.java | 32 new java.net.NetPermission("1.1.1.1", "connect").newPermissionCollection().add(new java.util.PropertyPermission("j", "read"));
|
H A D | Wildcard.java | 25 import java.net.NetPermission; 50 new NetPermission(wildcard);
|
H A D | Homogeneity.java | 41 java.net.NetPermission np = new java.net.NetPermission
|
/openjdk10/jdk/test/java/net/Authenticator/ |
H A D | GetAuthenticatorTest.java | 25 import java.net.NetPermission; 69 if (!s.getPermission().equals(new NetPermission("requestPasswordAuthentication"))) {
|
/openjdk10/jdk/test/java/security/PermissionCollection/ |
H A D | Concurrent.java | 32 import java.net.NetPermission; 191 new NetPermission("setDefaultAuthenticator"), 192 new NetPermission("requestPasswordAuthentication"), 193 new NetPermission("specifyStreamHandler")
|
/openjdk10/jdk/test/java/net/URLPermission/nstest/ |
H A D | LookupTest.java | 39 import java.net.NetPermission; 196 perms.add(new NetPermission("setProxySelector"));
|
/openjdk10/jdk/src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/internal/common/ |
H A D | Utils.java | 40 import java.net.NetPermission; 265 NetPermission np = new NetPermission(target);
|
/openjdk10/jdk/src/java.base/share/classes/sun/security/provider/ |
H A D | PolicyFile.java | 42 import java.net.NetPermission; 932 } else if (claz.equals(NetPermission.class)) { 933 return new NetPermission(name, actions);
|
/openjdk10/jdk/src/jdk.policytool/share/classes/sun/security/tools/policytool/ |
H A D | PolicyTool.java | 4372 super(java.net.NetPermission.class,
|
Completed in 100 milliseconds