|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WSSConsumingContext
This interface stores the components for consuming of WS-Security, such as verification,
decryption, the security token and the time stamp. When the validate() method is
called, all of components are validated.
Field Summary | |
---|---|
static int |
TIMESTAMP
The keyword for the creation and expiration time stamp information. |
Method Summary | |
---|---|
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. |
Field Detail |
---|
static final int TIMESTAMP
Method Detail |
---|
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 configuration
WSSException
- 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.CallbackHandler
WSSException
- 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 context
WSSException
- if an unexcepted error occurs in processing
|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |