Searched refs:NetPermission (Results 1 - 10 of 10) sorted by relevance

/openjdk7/jdk/src/share/classes/java/net/
H A DNetPermission.java35 * A NetPermission contains a name (also referred to as a "target name") but
46 * The following table lists all the possible NetPermission target names,
168 public final class NetPermission extends BasicPermission { class in inherits:BasicPermission
172 * Creates a new NetPermission with the specified name.
173 * The name is the symbolic name of the NetPermission, such as
178 * @param name the name of the NetPermission.
184 public NetPermission(String name) method in class:NetPermission
190 * Creates a new NetPermission object with the specified name.
191 * The name is the symbolic name of the NetPermission, and the
194 * @param name the name of the NetPermission
201 public NetPermission(String name, String actions) method in class:NetPermission
[all...]
H A DAuthenticator.java108 * <code>NetPermission("setDefaultAuthenticator")</code> permission.
120 * @see java.net.NetPermission
125 NetPermission setDefaultPermission
126 = new NetPermission("setDefaultAuthenticator");
139 * <code>NetPermission("requestPasswordAuthentication")</code> permission.
158 * @see java.net.NetPermission
169 NetPermission requestPermission
170 = new NetPermission("requestPasswordAuthentication");
198 * <code>NetPermission("requestPasswordAuthentication")</code> permission.
218 * @see java.net.NetPermission
[all...]
H A DNetworkInterface.java98 * {@link NetPermission}("getNetworkInformation") permission, then all
117 sec.checkPermission(new NetPermission("getNetworkInformation"));
424 * the permission {@link NetPermission}("getNetworkInformation").
429 * NetPermission("getNetworkInformation")
438 sec.checkPermission(new NetPermission("getNetworkInformation"));
H A DHttpURLConnection.java404 * NetPermission is not granted.
421 s.checkPermission(new NetPermission("allowHttpTrace"));
/openjdk7/jdk/src/share/classes/sun/security/util/
H A DSecurityConstants.java29 import java.net.NetPermission;
187 public static final NetPermission SPECIFY_HANDLER_PERMISSION =
188 new NetPermission("specifyStreamHandler");
191 public static final NetPermission SET_PROXYSELECTOR_PERMISSION =
192 new NetPermission("setProxySelector");
195 public static final NetPermission GET_PROXYSELECTOR_PERMISSION =
196 new NetPermission("getProxySelector");
199 public static final NetPermission SET_COOKIEHANDLER_PERMISSION =
200 new NetPermission("setCookieHandler");
203 public static final NetPermission GET_COOKIEHANDLER_PERMISSIO
[all...]
/openjdk7/jdk/test/java/security/BasicPermission/
H A DMixedBasicPermissions.java32 new java.net.NetPermission("1.1.1.1", "connect").newPermissionCollection().add(new java.util.PropertyPermission("j", "read"));
H A DHomogeneity.java41 java.net.NetPermission np = new java.net.NetPermission
/openjdk7/jdk/test/java/security/PermissionCollection/
H A DConcurrent.java31 import java.net.NetPermission;
194 new NetPermission("setDefaultAuthenticator"),
195 new NetPermission("requestPasswordAuthentication"),
196 new NetPermission("specifyStreamHandler")
/openjdk7/jdk/src/share/classes/java/lang/
H A DSecurityManager.java36 import java.net.NetPermission;
142 * <code>java.net.NetPermission</code>,
/openjdk7/jdk/src/share/classes/sun/security/provider/
H A DPolicyFile.java54 import java.net.NetPermission;
1020 } else if (claz.equals(NetPermission.class)) {
1021 return new NetPermission(name, actions);

Completed in 1353 milliseconds