|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.http.impl.auth.AuthSchemeBase
org.apache.http.impl.auth.NTLMScheme
public class NTLMScheme
Constructor Summary | |
---|---|
NTLMScheme(NTLMEngine engine)
|
Method Summary | |
---|---|
org.apache.http.Header |
authenticate(Credentials credentials,
org.apache.http.HttpRequest request)
Produces an authorization string for the given set of Credentials . |
java.lang.String |
getParameter(java.lang.String name)
Returns authentication parameter with the given name, if available. |
java.lang.String |
getRealm()
Returns authentication realm. |
java.lang.String |
getSchemeName()
Returns textual designation of the given authentication scheme. |
boolean |
isComplete()
Authentication process may involve a series of challenge-response exchanges. |
boolean |
isConnectionBased()
Tests if the authentication scheme is provides authorization on a per connection basis instead of usual per request basis |
protected void |
parseChallenge(org.apache.http.util.CharArrayBuffer buffer,
int pos,
int len)
|
Methods inherited from class org.apache.http.impl.auth.AuthSchemeBase |
---|
isProxy, processChallenge |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NTLMScheme(NTLMEngine engine)
Method Detail |
---|
public java.lang.String getSchemeName()
AuthScheme
public java.lang.String getParameter(java.lang.String name)
AuthScheme
name
- The name of the parameter to be returned
public java.lang.String getRealm()
AuthScheme
null
.
public boolean isConnectionBased()
AuthScheme
protected void parseChallenge(org.apache.http.util.CharArrayBuffer buffer, int pos, int len) throws MalformedChallengeException
parseChallenge
in class AuthSchemeBase
MalformedChallengeException
public org.apache.http.Header authenticate(Credentials credentials, org.apache.http.HttpRequest request) throws AuthenticationException
AuthScheme
Credentials
.
credentials
- The set of credentials to be used for athenticationrequest
- The request being authenticated
AuthenticationException
- if authorization string cannot
be generated due to an authentication failurepublic boolean isComplete()
AuthScheme
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |