Deprecated
Do not use. the NTLM authentication scheme is no longer supported. Consider using Basic or Bearer authentication with TLS instead.
BasicScheme, BearerScheme
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static enum |
| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private NTCredentials | credentials
Deprecated
as a consequence of
NTCredentials being deprecated.
|
| private final NTLMEngine | engine
Deprecated
as a consequence of
NTLMEngine being deprecated.
|
| private static final Logger | |
| private NTLMScheme. |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | generateAuthResponse(final HttpHost host, final HttpRequest
The request being authenticated request, final HttpContext HTTP context context)Implements org. |
| public String | getName()
Implements org. |
| public Principal | getPrincipal()
Implements org. Principal whose credentials are used to generate
an authentication response.
|
| public String | getRealm()
Implements org. |
| public boolean | isChallengeComplete()
Implements org. |
| public boolean | isConnectionBased()
Implements org. |
| public boolean | isResponseReady(final HttpHost host, final CredentialsProvider
The credentials to be used for authentication credentialsProvider, final HttpContext HTTP context context)Implements org. |
| public void | processChallenge(final AuthChallenge
the auth challenge authChallenge, final HttpContext HTTP context context)Implements org. |
| public String |
| challenge | back to summary |
|---|---|
| private String challenge | |
| credentials | back to summary |
|---|---|
| private NTCredentials credentials
Deprecated as a consequence of | |
| engine | back to summary |
|---|---|
| private final NTLMEngine engine
Deprecated as a consequence of | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| state | back to summary |
|---|---|
| private NTLMScheme. | |
| NTLMScheme | back to summary |
|---|---|
| public NTLMScheme(final NTLMEngine engine)
Deprecated as a consequence of | |
| NTLMScheme | back to summary |
|---|---|
public NTLMScheme()
| |
| generateAuthResponse | back to summary |
|---|---|
| public String generateAuthResponse(final HttpHost host, final HttpRequest request, final HttpContext context) throws AuthenticationException Implements org. Doc from org. Generates an authorization response based on the current state. Some authentication
schemes may need to load user credentials required to generate an authorization
response from a
| |
| getName | back to summary |
|---|---|
| public String getName() Implements org. Doc from org. Returns textual designation of the given authentication scheme. | |
| getPrincipal | back to summary |
|---|---|
| public Principal getPrincipal() Implements org. Doc from org. Returns | |
| getRealm | back to summary |
|---|---|
| public String getRealm() Implements org. Doc from org. Returns authentication realm. If the concept of an authentication
realm is not applicable to the given authentication scheme, returns
| |
| isChallengeComplete | back to summary |
|---|---|
| public boolean isChallengeComplete() Implements org. Doc from org. Authentication process may involve a series of challenge-response exchanges. This method tests if the authorization process has been fully completed (either successfully or unsuccessfully), that is, all the required authorization challenges have been processed in their entirety.
| |
| isConnectionBased | back to summary |
|---|---|
| public boolean isConnectionBased() Implements org. Doc from org. Determines if the authentication scheme is expected to provide an authorization response on a per connection basis instead of the standard per request basis
| |
| isResponseReady | back to summary |
|---|---|
| public boolean isResponseReady(final HttpHost host, final CredentialsProvider credentialsProvider, final HttpContext context) throws AuthenticationException Implements org. Doc from org. Determines whether or not an authorization response can be generated based on the actual authentication state. Generally the outcome of this method will depend upon availability of user credentials necessary to produce an authorization response.
| |
| processChallenge | back to summary |
|---|---|
| public void processChallenge(final AuthChallenge authChallenge, final HttpContext context) throws MalformedChallengeException Implements org. Doc from org. Processes the given auth challenge. Some authentication schemes may involve multiple challenge-response exchanges. Such schemes must be able to maintain internal state when dealing with sequential challenges
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final NTLMScheme. | |
| public static final NTLMScheme. | |
| public static final NTLMScheme. | |
| public static final NTLMScheme. | |
| public static final NTLMScheme. | |
| public static final NTLMScheme. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static NTLMScheme. | |
| public static NTLMScheme. |
| CHALLENGE_RECEIVED | back to summary |
|---|---|
| public static final NTLMScheme. | |
| FAILED | back to summary |
|---|---|
| public static final NTLMScheme. | |
| MSG_TYPE1_GENERATED | back to summary |
|---|---|
| public static final NTLMScheme. | |
| MSG_TYPE2_RECEIVED | back to summary |
|---|---|
| public static final NTLMScheme. | |
| MSG_TYPE3_GENERATED | back to summary |
|---|---|
| public static final NTLMScheme. | |
| UNINITIATED | back to summary |
|---|---|
| public static final NTLMScheme. | |
| State | back to summary |
|---|---|
| private State() | |
| valueOf | back to summary |
|---|---|
| public static NTLMScheme. | |
| values | back to summary |
|---|---|
| public static NTLMScheme. | |