|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.httpclient.auth.AuthState
This class provides detailed information about the state of the authentication process.
Constructor Summary | |
AuthState()
Default constructor. |
Method Summary | |
AuthScheme |
getAuthScheme()
Returns the authentication scheme . |
java.lang.String |
getRealm()
Returns the authentication realm. |
void |
invalidate()
Invalidates the authentication state by resetting its parameters. |
boolean |
isPreemptive()
Tests if preemptive authentication is used. |
void |
setAuthScheme(AuthScheme authScheme)
Assigns the given authentication scheme . |
void |
setPreemptive()
Preemptively assigns Basic authentication scheme. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AuthState()
Method Detail |
public void setPreemptive()
public void invalidate()
public boolean isPreemptive()
authentication scheme
, false otherwise.public void setAuthScheme(AuthScheme authScheme)
authentication scheme
.
authScheme
- the authentication scheme
public AuthScheme getAuthScheme()
authentication scheme
.
authentication scheme
public java.lang.String getRealm()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |