public interface WSSGenerationContext
Modifier and Type | Method and Description |
---|---|
void |
add(java.util.HashMap<java.lang.Object,java.lang.Object> customProperties)
Adds the custom properties HashMap object
|
void |
add(SecurityToken token)
Adds the SecurityToken object in order to attach the security token to the
SOAP message.
|
void |
add(WSSEncryption enc)
Adds the WSSEncyption object in order to encrypt the element in the SOAP
message.
|
void |
add(WSSSignature sig)
Adds the WSSSignature object in order to sign the element in the SOAP
message.
|
void |
add(WSSTimestamp ts)
Adds the WSSTimestamp object in order to attach the time stamp to the SOAP
message.
|
void |
process(java.lang.Object messageContext)
The WS-Security element is generated after this method is called.
|
void add(WSSSignature sig)
sig
- signature objectvoid add(WSSEncryption enc)
enc
- encryption objectvoid add(SecurityToken token)
token
- security token objectvoid add(WSSTimestamp ts)
ts
- time stamp objectvoid add(java.util.HashMap<java.lang.Object,java.lang.Object> customProperties)
map
- customproperties objectvoid process(java.lang.Object messageContext) throws WSSException
messageContext
- SOAP message contextWSSException
- if an unexcepted error occurs in processing