org.apache.abdera.ext.wsse
Class WSSEAuthScheme

java.lang.Object
  extended by org.apache.commons.httpclient.auth.RFC2617Scheme
      extended by org.apache.abdera.ext.wsse.WSSEAuthScheme
All Implemented Interfaces:
org.apache.commons.httpclient.auth.AuthScheme

public class WSSEAuthScheme
extends org.apache.commons.httpclient.auth.RFC2617Scheme
implements org.apache.commons.httpclient.auth.AuthScheme

WSSE Auth Scheme implementation for use with HTTP Commons AbderaClient Some APP implementations use WSSE for authentication

See Also:
http://www.xml.com/pub/a/2003/12/17/dive.html

Constructor Summary
WSSEAuthScheme()
           
 
Method Summary
 String authenticate(org.apache.commons.httpclient.Credentials credentials, org.apache.commons.httpclient.HttpMethod method)
           
 String authenticate(org.apache.commons.httpclient.Credentials credentials, String method, String uri)
           
 String getSchemeName()
           
 boolean isComplete()
           
 boolean isConnectionBased()
           
static void register(AbderaClient abderaClient, boolean exclusive)
           
 
Methods inherited from class org.apache.commons.httpclient.auth.RFC2617Scheme
getID, getParameter, getParameters, getRealm, processChallenge
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.commons.httpclient.auth.AuthScheme
getID, getParameter, getRealm, processChallenge
 

Constructor Detail

WSSEAuthScheme

public WSSEAuthScheme()
Method Detail

register

public static void register(AbderaClient abderaClient,
                            boolean exclusive)

authenticate

public String authenticate(org.apache.commons.httpclient.Credentials credentials,
                           org.apache.commons.httpclient.HttpMethod method)
                    throws org.apache.commons.httpclient.auth.AuthenticationException
Specified by:
authenticate in interface org.apache.commons.httpclient.auth.AuthScheme
Throws:
org.apache.commons.httpclient.auth.AuthenticationException

authenticate

public String authenticate(org.apache.commons.httpclient.Credentials credentials,
                           String method,
                           String uri)
                    throws org.apache.commons.httpclient.auth.AuthenticationException
Specified by:
authenticate in interface org.apache.commons.httpclient.auth.AuthScheme
Throws:
org.apache.commons.httpclient.auth.AuthenticationException

getSchemeName

public String getSchemeName()
Specified by:
getSchemeName in interface org.apache.commons.httpclient.auth.AuthScheme

isComplete

public boolean isComplete()
Specified by:
isComplete in interface org.apache.commons.httpclient.auth.AuthScheme

isConnectionBased

public boolean isConnectionBased()
Specified by:
isConnectionBased in interface org.apache.commons.httpclient.auth.AuthScheme


Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.