net.adamcin.httpsig.http.apache4
Class Http4SignatureAuthScheme

java.lang.Object
  extended by org.apache.http.impl.auth.AuthSchemeBase
      extended by org.apache.http.impl.auth.RFC2617Scheme
          extended by net.adamcin.httpsig.http.apache4.Http4SignatureAuthScheme
All Implemented Interfaces:
org.apache.http.auth.AuthScheme, org.apache.http.auth.ContextAwareAuthScheme

public final class Http4SignatureAuthScheme
extends org.apache.http.impl.auth.RFC2617Scheme


Constructor Summary
Http4SignatureAuthScheme()
           
 
Method Summary
 org.apache.http.Header authenticate(org.apache.http.auth.Credentials credentials, org.apache.http.HttpRequest request)
           
 String getSchemeName()
           
 boolean isComplete()
           
 boolean isConnectionBased()
           
protected  void parseChallenge(org.apache.http.util.CharArrayBuffer buffer, int pos, int len)
           
 
Methods inherited from class org.apache.http.impl.auth.RFC2617Scheme
getParameter, getParameters, getRealm
 
Methods inherited from class org.apache.http.impl.auth.AuthSchemeBase
authenticate, isProxy, processChallenge, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Http4SignatureAuthScheme

public Http4SignatureAuthScheme()
Method Detail

getSchemeName

public String getSchemeName()

isConnectionBased

public boolean isConnectionBased()

isComplete

public boolean isComplete()

parseChallenge

protected void parseChallenge(org.apache.http.util.CharArrayBuffer buffer,
                              int pos,
                              int len)
                       throws org.apache.http.auth.MalformedChallengeException
Overrides:
parseChallenge in class org.apache.http.impl.auth.RFC2617Scheme
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


Copyright © 2013-2014. All Rights Reserved.