@Experimental public class WindowsNegotiateScheme extends Object implements AuthScheme
This will delegate negotiation to the windows machine.
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
String |
generateAuthResponse(org.apache.hc.core5.http.HttpHost host,
org.apache.hc.core5.http.HttpRequest request,
org.apache.hc.core5.http.protocol.HttpContext context) |
static String |
getCurrentUsername()
Get the SAM-compatible username of the currently logged-on user.
|
String |
getName() |
Principal |
getPrincipal() |
String |
getRealm() |
boolean |
isChallengeComplete() |
boolean |
isConnectionBased() |
boolean |
isResponseReady(org.apache.hc.core5.http.HttpHost host,
CredentialsProvider credentialsProvider,
org.apache.hc.core5.http.protocol.HttpContext context) |
void |
processChallenge(AuthChallenge authChallenge,
org.apache.hc.core5.http.protocol.HttpContext context) |
public void dispose()
public String getName()
getName in interface AuthSchemepublic boolean isConnectionBased()
isConnectionBased in interface AuthSchemepublic String getRealm()
getRealm in interface AuthSchemepublic void processChallenge(AuthChallenge authChallenge, org.apache.hc.core5.http.protocol.HttpContext context) throws MalformedChallengeException
processChallenge in interface AuthSchemeMalformedChallengeExceptionpublic boolean isResponseReady(org.apache.hc.core5.http.HttpHost host,
CredentialsProvider credentialsProvider,
org.apache.hc.core5.http.protocol.HttpContext context)
throws AuthenticationException
isResponseReady in interface AuthSchemeAuthenticationExceptionpublic static String getCurrentUsername()
public Principal getPrincipal()
getPrincipal in interface AuthSchemepublic String generateAuthResponse(org.apache.hc.core5.http.HttpHost host, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.protocol.HttpContext context) throws AuthenticationException
generateAuthResponse in interface AuthSchemeAuthenticationExceptionpublic boolean isChallengeComplete()
isChallengeComplete in interface AuthSchemeCopyright © 1999–2019 The Apache Software Foundation. All rights reserved.