public abstract class AuthSchemeBase extends java.lang.Object implements AuthScheme
Constructor and Description |
---|
AuthSchemeBase() |
Modifier and Type | Method and Description |
---|---|
boolean |
isProxy()
Returns
true if authenticating against a proxy, false
otherwise. |
protected abstract void |
parseChallenge(CharArrayBuffer buffer,
int pos,
int len) |
void |
processChallenge(Header header)
Processes the given challenge token.
|
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
authenticate, getParameter, getRealm, getSchemeName, isComplete, isConnectionBased
public void processChallenge(Header header) throws MalformedChallengeException
processChallenge
in interface AuthScheme
header
- the challenge headerMalformedChallengeException
- is thrown if the authentication challenge
is malformedprotected abstract void parseChallenge(CharArrayBuffer buffer, int pos, int len) throws MalformedChallengeException
MalformedChallengeException
public boolean isProxy()
true
if authenticating against a proxy, false
otherwise.true
if authenticating against a proxy, false
otherwisepublic java.lang.String toString()
toString
in class java.lang.Object