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

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

public class WSSRequestHandler
extends Object

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

Field Summary
protected  org.apache.log4j.Logger log
           
 
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  org.apache.ws.security.components.crypto.Crypto loadDecryptionCrypto()
           
protected  org.apache.ws.security.components.crypto.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
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 org.apache.ws.security.components.crypto.Crypto loadSignatureCrypto()
                                                                       throws AxisFault
Throws:
AxisFault

loadDecryptionCrypto

protected org.apache.ws.security.components.crypto.Crypto loadDecryptionCrypto()
                                                                        throws AxisFault
Throws:
AxisFault


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