org.jboss.net.axis.security.handler
Class WSSRequestHandler

java.lang.Object
  extended byWSDoAllReceiver
      extended byorg.jboss.net.axis.security.handler.WSSRequestHandler

public class WSSRequestHandler
extends WSDoAllReceiver

Title:
Web Service Security Request Handler

Description:
This handler processes the security header of incoming SOAP messages.

Version:
$Revision: 1.4.6.1 $
Author:
Jason Essington
See Also:
Serialized Form

Field Summary
protected  org.apache.log4j.Logger log
           
 
Constructor Summary
WSSRequestHandler()
           
 
Method Summary
protected  void authenticate(MessageContext mc, String actor)
          Hook to authenticate any principals found via JBossSX.
 boolean canHandleBlock(javax.xml.namespace.QName arg0)
           
 List getUnderstoodHeaders()
           
 void invoke(MessageContext mc)
           
protected  Crypto loadDecryptionCrypto()
           
protected  Crypto loadSignatureCrypto()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected org.apache.log4j.Logger log
Constructor Detail

WSSRequestHandler

public WSSRequestHandler()
Method Detail

canHandleBlock

public boolean canHandleBlock(javax.xml.namespace.QName arg0)

getUnderstoodHeaders

public List getUnderstoodHeaders()

invoke

public void invoke(MessageContext mc)
            throws AxisFault
Throws:
AxisFault

authenticate

protected void authenticate(MessageContext mc,
                            String actor)
                     throws AxisFault
Hook to authenticate any principals found via JBossSX. Currently we just use the key alias as the user, and the certificate as the password. I am sure this scheme has some flaws, so I would love to have some input on a better method.

Parameters:
mc -
Throws:
AxisFault

loadSignatureCrypto

protected Crypto loadSignatureCrypto()
                              throws AxisFault
Throws:
AxisFault

loadDecryptionCrypto

protected Crypto loadDecryptionCrypto()
                               throws AxisFault
Throws:
AxisFault


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.