org.apache.http.impl.auth
Class NTLMSchemeHC4
java.lang.Object
org.apache.http.impl.auth.AuthSchemeBaseHC4
org.apache.http.impl.auth.NTLMSchemeHC4
- All Implemented Interfaces:
- org.apache.http.auth.AuthScheme, ContextAwareAuthScheme
@NotThreadSafe
public class NTLMSchemeHC4
- extends AuthSchemeBaseHC4
NTLM is a proprietary authentication scheme developed by Microsoft
and optimized for Windows platforms.
- Since:
- 4.0
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NTLMSchemeHC4
public NTLMSchemeHC4(org.apache.http.impl.auth.NTLMEngine engine)
NTLMSchemeHC4
public NTLMSchemeHC4()
- Since:
- 4.3
getSchemeName
public java.lang.String getSchemeName()
getParameter
public java.lang.String getParameter(java.lang.String name)
getRealm
public java.lang.String getRealm()
isConnectionBased
public boolean isConnectionBased()
parseChallenge
protected void parseChallenge(org.apache.http.util.CharArrayBuffer buffer,
int beginIndex,
int endIndex)
throws org.apache.http.auth.MalformedChallengeException
- Specified by:
parseChallenge in class AuthSchemeBaseHC4
- Throws:
org.apache.http.auth.MalformedChallengeException
authenticate
public org.apache.http.Header authenticate(org.apache.http.auth.Credentials credentials,
org.apache.http.HttpRequest request)
throws org.apache.http.auth.AuthenticationException
- Throws:
org.apache.http.auth.AuthenticationException
isComplete
public boolean isComplete()