public interface WSSConsumingContext
| Modifier and Type | Field and Description |
|---|---|
static int |
TIMESTAMP
The keyword for the creation and expiration time stamp information.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(java.lang.Class tokenClass,
javax.security.auth.callback.CallbackHandler callbackHandler)
Sets the security token information in order to validate the security token in the
receiving SOAP message.
|
void |
add(java.lang.Class tokenClass,
javax.security.auth.callback.CallbackHandler callbackHandler,
java.lang.String loginConfigName)
Adds the security token information in order to validate the security token in the
receiving SOAP message.
|
void |
add(java.util.HashMap<java.lang.Object,java.lang.Object> customProperties)
Adds the custom properties HashMap object
|
void |
add(int keyword)
Sets the keyword of the TIMESTAMP in case of requiring the time stamp in the receiving SOAP message.
|
void |
add(WSSDecryption decryption)
Adds the WSSDecryption object in order to decrypt the element in the
receiving SOAP message.
|
void |
add(WSSVerification verification)
Adds the WSSVerification object in order to verify the element in the
receiving SOAP message.
|
void |
process(java.lang.Object messageContext)
The WS-Security element is consumed after this method is called.
|
static final int TIMESTAMP
void add(WSSVerification verification)
verification - verification objectvoid add(WSSDecryption decryption)
decryption - decryption objectvoid add(java.lang.Class tokenClass,
javax.security.auth.callback.CallbackHandler callbackHandler,
java.lang.String loginConfigName)
throws WSSException
tokenClass - class of the security tokencallbackHandler - callback handler object which the user implements
javax.security.auth.callback.CallbackHandlerloginConfigName - the name of the JAAS login configurationWSSException - if the arguments are not validvoid add(java.lang.Class tokenClass,
javax.security.auth.callback.CallbackHandler callbackHandler)
throws WSSException
tokenClass - class of the security tokencallbackHandler - callback handler object which the user implements
javax.security.auth.callback.CallbackHandlerWSSException - if the arguments are not validvoid add(int keyword)
throws WSSException
keyword - WSSException - if the keyword is not validvoid 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