|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.http.impl.auth.RFC2617Scheme
public abstract class RFC2617Scheme
Abstract authentication scheme class that lays foundation for all RFC 2617 compliant authetication schemes and provides capabilities common to all authentication schemes defined in RFC 2617.
Constructor Summary | |
---|---|
RFC2617Scheme()
Default constructor for RFC2617 compliant authetication schemes. |
Method Summary | |
---|---|
java.lang.String |
getParameter(java.lang.String name)
Returns authentication parameter with the given name, if available. |
protected java.util.Map |
getParameters()
Returns authentication parameters map. |
java.lang.String |
getRealm()
Returns authentication realm. |
boolean |
isProxy()
Returns true if authenticating against a proxy, false
otherwise. |
void |
processChallenge(org.apache.http.Header header)
Processes the given challenge token. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.http.auth.AuthScheme |
---|
authenticate, getSchemeName, isComplete, isConnectionBased |
Constructor Detail |
---|
public RFC2617Scheme()
Method Detail |
---|
public void processChallenge(org.apache.http.Header header) throws MalformedChallengeException
processChallenge
in interface AuthScheme
header
- the challenge header
MalformedChallengeException
- is thrown if the authentication challenge
is malformedprotected java.util.Map getParameters()
public java.lang.String getParameter(java.lang.String name)
getParameter
in interface AuthScheme
name
- The name of the parameter to be returned
public java.lang.String getRealm()
getRealm
in interface AuthScheme
public boolean isProxy()
true
if authenticating against a proxy, false
otherwise.
true
if authenticating against a proxy, false
otherwise
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |