|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cxf.ws.security.wss4j.WSS4JUtils
public final class WSS4JUtils
Some common functionality that can be shared between the WSS4JInInterceptor and the UsernameTokenInterceptor.
| Method Summary | |
|---|---|
static org.apache.cxf.binding.soap.SoapFault |
createSoapFault(org.apache.cxf.binding.soap.SoapMessage message,
org.apache.cxf.binding.soap.SoapVersion version,
org.apache.wss4j.common.ext.WSSecurityException e)
Create a SoapFault from a WSSecurityException, following the SOAP Message Security 1.1 specification, chapter 12 "Error Handling". |
static URL |
getPropertiesFileURL(Object o,
org.apache.cxf.resource.ResourceManager manager,
Class<?> callingClass)
|
static Properties |
getProps(Object o,
URL propsURL)
|
static org.apache.wss4j.common.cache.ReplayCache |
getReplayCache(org.apache.cxf.binding.soap.SoapMessage message,
String booleanKey,
String instanceKey)
Get a ReplayCache instance. |
static TokenStore |
getTokenStore(org.apache.cxf.message.Message message)
|
static TokenStore |
getTokenStore(org.apache.cxf.message.Message message,
boolean create)
|
static org.apache.wss4j.common.crypto.Crypto |
loadCryptoFromPropertiesFile(org.apache.cxf.message.Message message,
String propFilename,
Class<?> callingClass,
ClassLoader classLoader,
org.apache.wss4j.common.crypto.PasswordEncryptor passwordEncryptor)
|
static String |
parseAndStoreStreamingSecurityToken(org.apache.xml.security.stax.securityToken.SecurityToken securityToken,
org.apache.cxf.message.Message message)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static org.apache.wss4j.common.cache.ReplayCache getReplayCache(org.apache.cxf.binding.soap.SoapMessage message,
String booleanKey,
String instanceKey)
public static TokenStore getTokenStore(org.apache.cxf.message.Message message)
public static TokenStore getTokenStore(org.apache.cxf.message.Message message,
boolean create)
public static String parseAndStoreStreamingSecurityToken(org.apache.xml.security.stax.securityToken.SecurityToken securityToken,
org.apache.cxf.message.Message message)
throws org.apache.xml.security.exceptions.XMLSecurityException
org.apache.xml.security.exceptions.XMLSecurityException
public static org.apache.cxf.binding.soap.SoapFault createSoapFault(org.apache.cxf.binding.soap.SoapMessage message,
org.apache.cxf.binding.soap.SoapVersion version,
org.apache.wss4j.common.ext.WSSecurityException e)
public static Properties getProps(Object o,
URL propsURL)
public static URL getPropertiesFileURL(Object o,
org.apache.cxf.resource.ResourceManager manager,
Class<?> callingClass)
public static org.apache.wss4j.common.crypto.Crypto loadCryptoFromPropertiesFile(org.apache.cxf.message.Message message,
String propFilename,
Class<?> callingClass,
ClassLoader classLoader,
org.apache.wss4j.common.crypto.PasswordEncryptor passwordEncryptor)
throws org.apache.wss4j.common.ext.WSSecurityException
org.apache.wss4j.common.ext.WSSecurityException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||