|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mule.transport.http.ntlm.NTLMScheme
public class NTLMScheme
Reimplements NTLMScheme using JCIFS
org.apache.commons.httpclient.auth.NTLMScheme.
This class has to be registered manually in order to be used:
AuthPolicy.registerAuthScheme(AuthPolicy.NTLM, NTLMScheme.class);
| Constructor Summary | |
|---|---|
NTLMScheme()
|
|
| Method Summary | |
|---|---|
String |
authenticate(Credentials credentials,
HttpMethod method)
|
String |
authenticate(Credentials credentials,
String method,
String uri)
|
String |
getID()
|
String |
getParameter(String name)
Returns the authentication parameter with the given name, if available. |
String |
getRealm()
The concept of an authentication realm is not supported by the NTLM authentication scheme. |
String |
getSchemeName()
Returns textual designation of the NTLM authentication scheme. |
boolean |
isComplete()
Tests if the NTLM authentication process has been completed. |
boolean |
isConnectionBased()
Returns true. |
void |
processChallenge(String challenge)
Processes the NTLM challenge. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NTLMScheme()
| Method Detail |
|---|
public String authenticate(Credentials credentials,
HttpMethod method)
throws AuthenticationException
authenticate in interface AuthSchemeAuthenticationException
public String authenticate(Credentials credentials,
String method,
String uri)
throws AuthenticationException
authenticate in interface AuthSchemeAuthenticationExceptionpublic String getID()
getID in interface AuthSchemepublic String getParameter(String name)
getParameter in interface AuthSchemename - The name of the parameter to be returned
public String getRealm()
null.
getRealm in interface AuthSchemenullpublic String getSchemeName()
getSchemeName in interface AuthSchementlmpublic boolean isComplete()
isComplete in interface AuthSchemepublic boolean isConnectionBased()
isConnectionBased in interface AuthScheme
public void processChallenge(String challenge)
throws MalformedChallengeException
processChallenge in interface AuthSchemechallenge - the challenge string
MalformedChallengeException - is thrown if the authentication challenge is malformed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||