| java.lang.Object | |||
| ↳ | org.apache.http.impl.auth.AuthSchemeBase | ||
| ↳ | org.apache.http.impl.auth.RFC2617Scheme | ||
| ↳ | org.apache.http.impl.auth.BasicScheme | ||
Basic authentication scheme as defined in RFC 2617.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Default constructor for the basic authetication scheme.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns a basic Authorization header value for the given
Credentials and charset. | |||||||||||
Produces basic authorization header for the given set of
Credentials. | |||||||||||
Returns textual designation of the basic authentication scheme.
| |||||||||||
Tests if the Basic authentication process has been completed.
| |||||||||||
Returns false.
| |||||||||||
Processes the Basic challenge.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class org.apache.http.impl.auth.RFC2617Scheme
| |||||||||||
From class org.apache.http.impl.auth.AuthSchemeBase
| |||||||||||
From class java.lang.Object
| |||||||||||
From interface org.apache.http.auth.AuthScheme
| |||||||||||
Returns a basic Authorization header value for the given
Credentials and charset.
| credentials | The credentials to encode. |
|---|---|
| charset | The charset to use for encoding the credentials |
Produces basic authorization header for the given set of Credentials.
| credentials | The set of credentials to be used for athentication |
|---|---|
| request | The request being authenticated |
| InvalidCredentialsException | if authentication credentials are not valid or not applicable for this authentication scheme |
|---|---|
| AuthenticationException | if authorization string cannot be generated due to an authentication failure |
Returns textual designation of the basic authentication scheme.
basic
Tests if the Basic authentication process has been completed.
Returns false. Basic authentication scheme is request based.
Processes the Basic challenge.
| header | the challenge header |
|---|
| MalformedChallengeException | is thrown if the authentication challenge is malformed |
|---|