Deprecated
(4.2) use SPNegoScheme or KerberosScheme.
| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private final Log | |
| private final SpnegoTokenGenerator | spengoGenerator
Deprecated
as a consequence of
SpnegoTokenGenerator being deprecated.
|
| private static final String |
| Access | Constructor and Description |
|---|---|
| public | NegotiateScheme(final SpnegoTokenGenerator spengoGenerator, final boolean stripPort)
Deprecated
as a consequence of
Default constructor for the Negotiate authentication scheme.
SpnegoTokenGenerator being deprecated.
|
| public | NegotiateScheme(final SpnegoTokenGenerator spengoGenerator)
Deprecated
as a consequence of
SpnegoTokenGenerator being deprecated.
|
| 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)Overrides org. Implements org. Credentials.
|
| public Header | Returns: an Negotiate authorisation HeaderNever used be the Negotiate scheme but must be provided to
satisfy common-httpclient API. Credentials from JAAS will be used instead. credentials, final HttpRequest The request being authenticated request, final HttpContext HTTP context context)Overrides org. Implements org. |
| protected byte[] | generateToken(final byte[] input, final String authServer)
Overrides org. |
| protected byte[] | generateToken(final byte[] input, final String authServer, final Credentials credentials)
Overrides org. |
| public String | Returns: the parameter with the given nameThe name of the parameter to be returned name)Implements org. |
| public String | Returns: nullImplements org. |
| public String | Returns: NegotiateImplements org. |
| public boolean | Returns: true.Implements org. true.
|
| KERBEROS_OID | back to summary |
|---|---|
| private static final String KERBEROS_OID | |
| log | back to summary |
|---|---|
| private final Log log | |
| spengoGenerator | back to summary |
|---|---|
| private final SpnegoTokenGenerator spengoGenerator
Deprecated as a consequence of | |
| SPNEGO_OID | back to summary |
|---|---|
| private static final String SPNEGO_OID | |
| NegotiateScheme | back to summary |
|---|---|
| public NegotiateScheme(final SpnegoTokenGenerator spengoGenerator, final boolean stripPort)
Deprecated as a consequence of Default constructor for the Negotiate authentication scheme. | |
| NegotiateScheme | back to summary |
|---|---|
| public NegotiateScheme(final SpnegoTokenGenerator spengoGenerator)
Deprecated as a consequence of | |
| NegotiateScheme | back to summary |
|---|---|
| public NegotiateScheme() | |
| authenticate | back to summary |
|---|---|
| public Header authenticate(final Credentials credentials, final HttpRequest request) throws AuthenticationException Overrides org. Implements org. Doc from org. 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 Negotiate authorization Header based on token created by processChallenge.
| |
| generateToken | back to summary |
|---|---|
| protected byte[] generateToken(final byte[] input, final String authServer) throws GSSException Overrides org.
| |
| generateToken | back to summary |
|---|---|
| protected byte[] generateToken(final byte[] input, final String authServer, final Credentials credentials) throws GSSException Overrides org.
| |
| getParameter | back to summary |
|---|---|
| public String getParameter(final String name) Implements org. Returns the authentication parameter with the given name, if available. There are no valid parameters for Negotiate authentication so this
method always returns | |
| getRealm | back to summary |
|---|---|
| public String getRealm() Implements org. The concept of an authentication realm is not supported by the Negotiate
authentication scheme. Always returns | |
| getSchemeName | back to summary |
|---|---|
| public String getSchemeName() Implements org. Returns textual designation of the Negotiate authentication scheme. | |
| isConnectionBased | back to summary |
|---|---|
| public boolean isConnectionBased() Implements org. Returns
| |