org.apache.rampart.conversation
Class Util
java.lang.Object
org.apache.rampart.conversation.Util
- public class Util
- extends Object
Constructor Summary |
Util()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Util
public Util()
getCryptoInstace
public static org.apache.ws.security.components.crypto.Crypto getCryptoInstace(ConversationConfiguration config)
throws RampartException
- Returns the crypto instance of this configuration. If one is not
availabale then it will try to create a
Crypto
instance
using available configuration information and will set it as the
Crypto
instance of the configuration.
- Parameters:
config
-
- Returns:
- The crypto instance of this configuration
- Throws:
RahasException
RampartException
processRSTR
public static void processRSTR(org.apache.axiom.om.OMElement rstr,
ConversationConfiguration config)
throws Exception
- Throws:
Exception
resgisterContext
public static void resgisterContext(String identifier,
ConversationConfiguration config)
throws RampartException
- This registers the security context mapping ?e context identifier to
the wsa:Action/soapAction or the service address, depending on the scope.
- Parameters:
identifier
- The security context identifierconfig
- The ConversationConfiguration instance
- Throws:
RampartException
- If scope is "operation" and the wsa:Action is not available.
If scope is "service" and the wsa:To is missing.