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

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

public class AuthenticationRequiredException
extends IOException

This exception is thrown when an attempt is made to access a service that has restricted access (requires username/password)

See Also:
Serialized Form

Constructor Summary
AuthenticationRequiredException(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

AuthenticationRequiredException

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

getServiceName

public String getServiceName()

getServiceProxy

public Object getServiceProxy()

getRealm

public String getRealm()

setRealm

public void setRealm(String realm)

getUsername

public String getUsername()

getPassword

public String getPassword()