|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.ws.security.handler.WSHandler
org.apache.ws.axis.security.handler.WSDoAllHandler
org.apache.ws.axis.security.WSDoAllSender
uk.ac.soton.itinnovation.grid.utils.wss4j.handler.WSOutboundHandler
public class WSOutboundHandler
This handler doesnt require a user alias be specified in the server deployment file as it is already available from the crypto object. This is a rewritten version of AK's code, which subclasses WSDoAllSender instead of copying all the code in here.
In addition, we get the configuration for the signature crypto from the message context, not by reading in a properties file.
| Field Summary | |
|---|---|
static String |
SIG_IDENTITY
Attribute name on MessageContext. |
| Fields inherited from class org.apache.ws.axis.security.WSDoAllSender |
|---|
log |
| Fields inherited from class org.apache.ws.axis.security.handler.WSDoAllHandler |
|---|
makeLockable, name, options |
| Fields inherited from class org.apache.ws.security.handler.WSHandler |
|---|
cryptos, DONE, secEngine |
| Constructor Summary | |
|---|---|
WSOutboundHandler()
|
|
| Method Summary | |
|---|---|
void |
invoke(MessageContext mc)
|
org.apache.ws.security.components.crypto.Crypto |
loadSignatureCrypto(org.apache.ws.security.handler.RequestData reqData)
|
| Methods inherited from class org.apache.ws.axis.security.handler.WSDoAllHandler |
|---|
canHandleBlock, cleanup, generateWSDL, getDeploymentData, getName, getOption, getOptions, getPassword, getProperty, getUnderstoodHeaders, init, initHashtable, onFault, setName, setOption, setOptionDefault, setOptions, setOptionsLockable, setPassword, setProperty |
| Methods inherited from class org.apache.ws.security.handler.WSHandler |
|---|
checkReceiverResults, checkSignatureConfirmation, decodeCustomPasswordTypes, decodeDecryptionParameter, decodeEnableSignatureConfirmation, decodeEncryptionParameter, decodeMustUnderstand, decodeSignatureParameter, decodeSignatureParameter2, decodeTimestampPrecision, decodeTimestampStrict, decodeTimeToLive, decodeUTParameter, doReceiverAction, doSenderAction, getClassLoader, getPassword, getPasswordCB, getString, getStringOption, loadDecryptionCrypto, loadEncryptionCrypto, verifyTimestamp, verifyTrust |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String SIG_IDENTITY
| Constructor Detail |
|---|
public WSOutboundHandler()
| Method Detail |
|---|
public void invoke(MessageContext mc)
throws AxisFault
invoke in interface Handlerinvoke in class org.apache.ws.axis.security.WSDoAllSenderAxisFault
public org.apache.ws.security.components.crypto.Crypto loadSignatureCrypto(org.apache.ws.security.handler.RequestData reqData)
throws org.apache.ws.security.WSSecurityException
loadSignatureCrypto in class org.apache.ws.security.handler.WSHandlerorg.apache.ws.security.WSSecurityException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||