public class WindowsNegotiateScheme
extends java.lang.Object
This will delegate negotiation to the windows machine.
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
java.lang.String |
generateAuthResponse(HttpHost host,
HttpRequest request,
HttpContext context) |
static java.lang.String |
getCurrentUsername()
Get the SAM-compatible username of the currently logged-on user.
|
java.lang.String |
getName() |
java.security.Principal |
getPrincipal() |
java.lang.String |
getRealm() |
boolean |
isChallengeComplete() |
boolean |
isConnectionBased() |
boolean |
isResponseReady(HttpHost host,
CredentialsProvider credentialsProvider,
HttpContext context) |
void |
processChallenge(AuthChallenge authChallenge,
HttpContext context) |
public void dispose()
public java.lang.String getName()
public boolean isConnectionBased()
public java.lang.String getRealm()
public void processChallenge(AuthChallenge authChallenge,
HttpContext context)
throws MalformedChallengeException
MalformedChallengeExceptionpublic boolean isResponseReady(HttpHost host,
CredentialsProvider credentialsProvider,
HttpContext context)
throws AuthenticationException
AuthenticationExceptionpublic static java.lang.String getCurrentUsername()
public java.security.Principal getPrincipal()
public java.lang.String generateAuthResponse(HttpHost host,
HttpRequest request,
HttpContext context)
throws AuthenticationException
AuthenticationExceptionpublic boolean isChallengeComplete()