38 |
package java.net; |
package java.net; |
39 |
|
|
40 |
/** |
/** |
41 |
* Sometimes a network operation (such as hitting a password protected |
* This abstract class provides a model for obtaining authentication |
42 |
* web site) will require authentication information in the form of a |
* information (in the form of a username and password) required by |
43 |
* username and password. This abstract class provides a model for |
* some network operations (such as hitting a password protected |
44 |
* obtaining that information. |
* web site). |
45 |
* <p> |
* <p> |
46 |
* To make use of this feature, a programmer must create a subclass of |
* To make use of this feature, a programmer must create a subclass of |
47 |
* Authenticator that knows how to obtain the necessary info. An example |
* Authenticator that knows how to obtain the necessary info. An example |