diff options
author | Michael Koch <konqueror@gmx.de> | 2003-05-26 12:58:02 +0000 |
---|---|---|
committer | Michael Koch <mkoch@gcc.gnu.org> | 2003-05-26 12:58:02 +0000 |
commit | b91c701d199af4c4860919595ccf2cc755418cc1 (patch) | |
tree | 86efa3b8b35f1d1070f09616f4939e1a8d3346ee /libjava/java/net/NetPermission.java | |
parent | 8729d659a7e6d236c7012e5db5c865102fc3c916 (diff) | |
download | gcc-b91c701d199af4c4860919595ccf2cc755418cc1.zip gcc-b91c701d199af4c4860919595ccf2cc755418cc1.tar.gz gcc-b91c701d199af4c4860919595ccf2cc755418cc1.tar.bz2 |
NetPermission.java, [...]: New versions from classpath.
2003-05-26 Michael Koch <konqueror@gmx.de>
* java/net/NetPermission.java,
java/net/NetworkInterface.java,
java/net/PasswordAuthentication.java,
java/net/SocketPermission.java:
New versions from classpath.
From-SVN: r67174
Diffstat (limited to 'libjava/java/net/NetPermission.java')
-rw-r--r-- | libjava/java/net/NetPermission.java | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/libjava/java/net/NetPermission.java b/libjava/java/net/NetPermission.java index 593b635..6b796be 100644 --- a/libjava/java/net/NetPermission.java +++ b/libjava/java/net/NetPermission.java @@ -41,9 +41,21 @@ import java.security.BasicPermission; /** * 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. + * a subclass of <code>BasicPermission</code>. 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. + * + * The following permission names are defined for this class: + * + * <ul> + * <li>setDefaultAuthenticator - Grants the ability to install a facility + * to collect username and password information when requested by a + * web site or proxy server. + * <li>requestPasswordAuthentication - Grants the ability to ask the + * authentication facility for the user's password. + * <li>specifyStreamHandler - Grants the permission to specify the + * stream handler class used when loading from a URL. + * </ul> * * @author Aaron M. Renn (arenn@urbanophile.com) */ |