java.net
Class NetPermission
java.lang.Object
|
+--java.security.Permission
|
+--java.security.BasicPermission
|
+--java.net.NetPermission
This class is used to model miscellaneous network permissions. It is
a subclass of BasicPermission. This means that it models a "boolean"
permission. One that you either have or do not have. Thus there is
no permitted action list associated with this object.
Author:- Aaron M. Renn (arenn@urbanophile.com)
NetPermission
public NetPermission(java.lang.String name)
Initializes a new instance of NetPermission
with the
specified name.
Parameters:
NetPermission
public NetPermission(java.lang.String name, java.lang.String perms)
Initializes a new instance of NetPermission
with the
specified name and value. Note that the value field is irrelevant and is
ignored. This constructor should never need to be used.
Parameters: