Save This Page
Home » commons-httpclient-3.1-src » org.apache.commons » httpclient » auth » [javadoc | source]
org.apache.commons.httpclient.auth
public class: AuthState [javadoc | source]
java.lang.Object
   org.apache.commons.httpclient.auth.AuthState
This class provides detailed information about the state of the authentication process.
Field Summary
public static final  String PREEMPTIVE_AUTH_SCHEME     
Constructor:
 public AuthState() 
Method from org.apache.commons.httpclient.auth.AuthState Summary:
getAuthScheme,   getRealm,   invalidate,   isAuthAttempted,   isAuthRequested,   isPreemptive,   setAuthAttempted,   setAuthRequested,   setAuthScheme,   setPreemptive,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.commons.httpclient.auth.AuthState Detail:
 public AuthScheme getAuthScheme() 
 public String getRealm() 
    Returns the authentication realm.
 public  void invalidate() 
    Invalidates the authentication state by resetting its parameters.
 public boolean isAuthAttempted() 
    Tests whether authenication challenge has been responsed to
 public boolean isAuthRequested() 
    Tests whether authenication challenge has been received
 public boolean isPreemptive() 
    Tests if preemptive authentication is used.
 public  void setAuthAttempted(boolean challengeResponded) 
    Sets authentication attempt status
 public  void setAuthRequested(boolean challengeReceived) 
    Sets authentication request status
 public  void setAuthScheme(AuthScheme authScheme) 
 public  void setPreemptive() 
    Preemptively assigns Basic authentication scheme.
 public String toString()