com.esri.aims.mtier.io.http
Class AuthenticationFailedException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.io.IOException
                    |
                    +--com.esri.aims.mtier.io.http.AuthenticationFailedException
All Implemented Interfaces:
Serializable

public class AuthenticationFailedException
extends IOException

This exception is thrown when an attempt is made to access a service that has restricted access (requires username/password) and the given username/password combination was invalid.

See Also:
Serialized Form

Constructor Summary
AuthenticationFailedException(Object sp, String realm, String username, String password)
           
 
Method Summary
 String getPassword()
           
 String getRealm()
           
 String getServiceName()
           
 Object getServiceProxy()
           
 String getUsername()
           
 void setRealm(String realm)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AuthenticationFailedException

public AuthenticationFailedException(Object sp,
                                     String realm,
                                     String username,
                                     String password)
Method Detail

getServiceProxy

public Object getServiceProxy()

getServiceName

public String getServiceName()

getRealm

public String getRealm()

setRealm

public void setRealm(String realm)

getUsername

public String getUsername()

getPassword

public String getPassword()