/* Copyright 1998, 2005 The Apache Software Foundation or its licensors, as applicable
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *     http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package java.net;


/**
 * This class represents permission to access network resources.
 * <p>
 * There are three valid target names:
 * <dl>
 * <dt>setDefaultAuthenticator</dt>
 * <dd>Allows the default authenticator to be set.</dd>
 * <dt>requestPasswordAuthentication</dt>
 * <dd>Allows the default authenticator to be retrieved.</dd>
 * <dt>specifyStreamHandler</dt>
 * <dd>Allows a stream (protocol) handler to be set when constructing an URL
 * object</dd>
 * </dl>
 * 
 * @see java.security.BasicPermission
 * @see SecurityManager
 */
public final class NetPermission extends java.security.BasicPermission {

	/**
	 * Creates an instance of this class with the given name.
	 * 
	 * @param name
	 *            String the name of the new permission.
	 */
	public NetPermission(String name) {
		super(name);
	}

	/**
	 * Creates an instance of this class with the given name and action list.
	 * The action list is ignored.
	 * 
	 * @param name
	 *            String the name of the new permission.
	 * @param actions
	 *            String ignored.
	 */
	public NetPermission(String name, String actions) {
		super(name, actions);
	}
}

@@ -19,9 +19,9 @@
  200
-5
+6
  The
@@ -1296,24 +1296,96 @@
 ission %7B%0D%0A%0D%0A
+%09private static final long serialVersionUID = -8343910153355041693L;%0D%0A%0D%0A
 %09/**%0D%0A%09 * Cr

Apply patch HARMONY-324 (java.net.NetPermission should define 'serialVersionUID')