jview
Class JWebcam.SimpleAuthenticator

java.lang.Object
  extended by java.net.Authenticator
      extended by jview.JWebcam.SimpleAuthenticator
Enclosing class:
JWebcam

private static class JWebcam.SimpleAuthenticator
extends Authenticator

A authenticator for plain usernames/passwords.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.net.Authenticator
Authenticator.RequestorType
 
Field Summary
private  char[] password
          The password.
private  String username
          The user name.
 
Constructor Summary
protected JWebcam.SimpleAuthenticator(String user, String passwd)
           
 
Method Summary
protected  PasswordAuthentication getPasswordAuthentication()
           
 
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
 

Field Detail

username

private String username
The user name.


password

private char[] password
The password.

Constructor Detail

JWebcam.SimpleAuthenticator

protected JWebcam.SimpleAuthenticator(String user,
                                      String passwd)
Method Detail

getPasswordAuthentication

protected PasswordAuthentication getPasswordAuthentication()
Overrides:
getPasswordAuthentication in class Authenticator