java.lang.Object | |
↳ | org.apache.http.auth.AuthState |
This class provides detailed information about the state of the authentication process.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
Default constructor.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
Returns the
authentication scheme
.
|
||||||||||
|
Returns actual
AuthScope
if available
|
||||||||||
|
Returns user
Credentials
selected for authentication if available
|
||||||||||
|
Invalidates the authentication state by resetting its parameters.
|
||||||||||
|
|
||||||||||
|
Assigns the given
authentication scheme
.
|
||||||||||
|
Sets actual
AuthScope
.
|
||||||||||
|
Sets user
Credentials
to be used for authentication
|
||||||||||
|
Returns a string containing a concise, human-readable description of this
object.
|
[Expand]
Inherited Methods
|
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Returns actual
AuthScope
if available
null
Returns user
Credentials
selected for authentication if available
null
Invalidates the authentication state by resetting its parameters.
Assigns the given
authentication scheme
.
authScheme |
the
authentication scheme
|
---|
Sets actual
AuthScope
.
authScope | Authentication scope |
---|
Sets user
Credentials
to be used for authentication
credentials | User credentials |
---|
Returns a string containing a concise, human-readable description of this object. Subclasses are encouraged to override this method and provide an implementation that takes into account the object's type and data. The default implementation is equivalent to the following expression:
getClass().getName() + '@' + Integer.toHexString(hashCode())
See
Writing a useful
toString
method
if you intend implementing your own
toString
method.