org.greenstone.gs3client
Class GS3JavaClient.PasswordAuthenticator

java.lang.Object
  extended by java.net.Authenticator
      extended by org.greenstone.gs3client.GS3JavaClient.PasswordAuthenticator
Enclosing class:
GS3JavaClient

static class GS3JavaClient.PasswordAuthenticator
extends java.net.Authenticator

Inner class that handles authentication for any sites (urls, etc.) that require it. A dialog pops up to request username and password details from the user for each site's realm that needs authentication.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.net.Authenticator
java.net.Authenticator.RequestorType
 
Constructor Summary
GS3JavaClient.PasswordAuthenticator()
           
 
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

GS3JavaClient.PasswordAuthenticator

GS3JavaClient.PasswordAuthenticator()
Method Detail

getPasswordAuthentication

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