jview
Class JWebcam.SimpleAuthenticator
java.lang.Object
java.net.Authenticator
jview.JWebcam.SimpleAuthenticator
- Enclosing class:
- JWebcam
private static class JWebcam.SimpleAuthenticator
- extends Authenticator
A authenticator for plain usernames/passwords.
| Methods inherited from class java.net.Authenticator |
getRequestingHost, getRequestingPort, getRequestingPrompt, getRequestingProtocol, getRequestingScheme, getRequestingSite, getRequestingURL, getRequestorType, requestPasswordAuthentication, requestPasswordAuthentication, requestPasswordAuthentication, setDefault |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
username
private String username
- The user name.
password
private char[] password
- The password.
JWebcam.SimpleAuthenticator
protected JWebcam.SimpleAuthenticator(String user,
String passwd)
getPasswordAuthentication
protected PasswordAuthentication getPasswordAuthentication()
- Overrides:
getPasswordAuthentication in class Authenticator