| Modifier and Type | Field and Description |
|---|---|
| private boolean | complete
Whether the basic authentication process is complete |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | |
| public | BasicScheme(final ChallengeState challengeState)
Deprecated
(4.3) do not use.
Creates an instance of BasicScheme with the given challenge
state.
|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Header | authenticate(final Credentials
The set of credentials to be used for athentication credentials, final HttpRequest The request being authenticated request)Implements org.
Deprecated
(4.2) Use
Produces an authorization string for the given set of org.
Credentials.
|
| public Header | Returns: a basic authorization stringThe set of credentials to be used for authentication credentials, final HttpRequest The request being authenticated request, final HttpContext HTTP context context)Overrides org. Implements org. Credentials.
|
| public static Header | Returns: a basic authorization headerThe credentials to encode. credentials, final String The charset to use for encoding the credentials charset, final boolean proxy)
Deprecated
(4.3) use
Returns a basic authenticate(Credentials, HttpRequest, HttpContext).
Authorization header value for the given
Credentials and charset.
|
| public String | Returns: basicImplements org. |
| public boolean | Returns: true if Basic authorization has been processed,
false otherwise.Implements org. |
| public boolean | Returns: false.Implements org. false.
|
| public void | processChallenge(final Header
the challenge header header)Overrides org. Implements org. |
| public String | toString()
Overrides org. |
| complete | back to summary |
|---|---|
| private boolean complete Whether the basic authentication process is complete | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides org. | |
| BasicScheme | back to summary |
|---|---|
public BasicScheme(final Charset credentialsCharset)
| |
| BasicScheme | back to summary |
|---|---|
| public BasicScheme(final ChallengeState challengeState)
Deprecated (4.3) do not use. Creates an instance of
| |
| BasicScheme | back to summary |
|---|---|
| public BasicScheme() | |
| authenticate | back to summary |
|---|---|
| public Header authenticate(final Credentials credentials, final HttpRequest request) throws AuthenticationException Implements org. Doc from org. Deprecated Produces an authorization string for the given set of
| |
| authenticate | back to summary |
|---|---|
| public Header authenticate(final Credentials credentials, final HttpRequest request, final HttpContext context) throws AuthenticationException Overrides org. Implements org. Produces basic authorization header for the given set of
| |
| authenticate | back to summary |
|---|---|
| public static Header authenticate(final Credentials credentials, final String charset, final boolean proxy)
Deprecated (4.3) use Returns a basic
| |
| getSchemeName | back to summary |
|---|---|
| public String getSchemeName() Implements org. Returns textual designation of the basic authentication scheme. | |
| isComplete | back to summary |
|---|---|
| public boolean isComplete() Implements org. Tests if the Basic authentication process has been completed.
| |
| isConnectionBased | back to summary |
|---|---|
| public boolean isConnectionBased() Implements org. Returns
| |
| processChallenge | back to summary |
|---|---|
| public void processChallenge(final Header header) throws MalformedChallengeException Overrides org. Implements org. Processes the Basic challenge.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides org. Doc from java. Returns a string representation of the object. | |