java.lang.Object | ||
↳ | org.apache.http.impl.auth.AuthSchemeBase | |
↳ | org.apache.http.impl.auth.NegotiateScheme |
SPNEGO (Simple and Protected GSSAPI Negotiation Mechanism) authentication scheme.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Default constructor for the Negotiate authentication scheme.
| |||||||||||
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Produces Negotiate authorization Header based on token created by
processChallenge.
| |||||||||||
Returns the authentication parameter with the given name, if available.
| |||||||||||
The concept of an authentication realm is not supported by the Negotiate
authentication scheme.
| |||||||||||
Returns textual designation of the Negotiate authentication scheme.
| |||||||||||
Tests if the Negotiate authentication process has been completed.
| |||||||||||
Returns true.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.http.impl.auth.AuthSchemeBase
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
org.apache.http.auth.AuthScheme
| |||||||||||
From interface
org.apache.http.auth.ContextAwareAuthScheme
|
Default constructor for the Negotiate authentication scheme.
AuthenticationException |
---|
Produces Negotiate authorization Header based on token created by processChallenge.
credentials | Never used be the Negotiate scheme but must be provided to satisfy common-httpclient API. Credentials from JAAS will be used instead. |
---|---|
request | The request being authenticated |
context | HTTP context |
AuthenticationException | if authorisation string cannot be generated due to an authentication failure |
---|
Returns the authentication parameter with the given name, if available.
There are no valid parameters for Negotiate authentication so this method always returns null.
name | The name of the parameter to be returned |
---|
The concept of an authentication realm is not supported by the Negotiate
authentication scheme. Always returns null
.
null
Returns textual designation of the Negotiate authentication scheme.
Negotiate
Tests if the Negotiate authentication process has been completed.
Returns true. Negotiate authentication scheme is connection based.
MalformedChallengeException |
---|