net.sf.xtvdclient.xtvd
Class XtvdAuthenticator

java.lang.Object
  extended by java.net.Authenticator
      extended by net.sf.xtvdclient.xtvd.XtvdAuthenticator

public class XtvdAuthenticator
extends java.net.Authenticator

This class is used to authenticate the user against the soap request. The authentification is done via digest, so this must be set using Autheticator.setDefault() in the request.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.net.Authenticator
java.net.Authenticator.RequestorType
 
Constructor Summary
XtvdAuthenticator(java.lang.String userName, java.lang.String password)
          Creates the Autheticator
 
Method Summary
protected  java.net.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
 

Constructor Detail

XtvdAuthenticator

public XtvdAuthenticator(java.lang.String userName,
                         java.lang.String password)
Creates the Autheticator

Parameters:
userName - Username
password - Password
Method Detail

getPasswordAuthentication

protected java.net.PasswordAuthentication getPasswordAuthentication()
Overrides:
getPasswordAuthentication in class java.net.Authenticator