public final class NetworkPermission extends BasicPermission
Represents permission to access the extended networking capabilities defined in the jdk.net package. These permissions contain a target name, but no actions list. Callers either possess the permission or not.
The following targets are defined:
|Permission Target Name||What the Permission Allows||Risks of Allowing this Permission|
||allows caller to set a higher priority or bandwidth allocation to sockets it creates, than they might otherwise be allowed. This permission is deprecated.|
||allows caller access to SLA information that it might not otherwise have. This permission is deprecated.|
NetworkPermissionpublic NetworkPermission(String name)Creates a NetworkPermission with the given target name.
NetworkPermissionCreates a NetworkPermission with the given target name.