com.moximedia.ows
Class Authenticator

java.lang.Object
  extended byjava.net.Authenticator
      extended bycom.moximedia.ows.Authenticator

public class Authenticator
extends java.net.Authenticator

Author:
jdc

Constructor Summary
Authenticator()
           
 
Method Summary
protected  java.net.PasswordAuthentication getPasswordAuthentication()
          Overrides method in java.net.Authenticator to supply password for the host requesting it.
 boolean setPasswordAuthentication(java.lang.String host, java.lang.String userName, java.lang.String password)
          Sets the password authentication for the specified host.
 
Methods inherited from class java.net.Authenticator
getRequestingHost, getRequestingPort, getRequestingPrompt, getRequestingProtocol, getRequestingScheme, getRequestingSite, requestPasswordAuthentication, requestPasswordAuthentication, setDefault
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Authenticator

public Authenticator()
Method Detail

getPasswordAuthentication

protected java.net.PasswordAuthentication getPasswordAuthentication()
Overrides method in java.net.Authenticator to supply password for the host requesting it.

Returns:
The password authentication, or null if no authentication exists for the requesting host.

setPasswordAuthentication

public boolean setPasswordAuthentication(java.lang.String host,
                                         java.lang.String userName,
                                         java.lang.String password)
Sets the password authentication for the specified host.

Parameters:
host - The host name or IP address of the host.
userName - The user name to be provided.
password - The password to be provided.
Returns:
True if the authentication was successfully installed, otherwise false.


Internet Mapping Framework for OpenGIS Java Object Model API (v1.3.007)
Copyright © 2005 Moxi Media Inc. and Province of British Columbia. All Rights Reserved.