public final class WSS4JUtils extends Object
Modifier and Type | Method and Description |
---|---|
static org.apache.cxf.binding.soap.SoapFault |
createSoapFault(org.apache.cxf.binding.soap.SoapMessage message,
org.apache.cxf.binding.soap.SoapVersion version,
WSSecurityException e)
Create a SoapFault from a WSSecurityException, following the SOAP Message Security
1.1 specification, chapter 12 "Error Handling".
|
static Crypto |
getEncryptionCrypto(Object e,
org.apache.cxf.binding.soap.SoapMessage message,
PasswordEncryptor passwordEncryptor) |
static Properties |
getProps(Object o,
URL propsURL) |
static ReplayCache |
getReplayCache(org.apache.cxf.binding.soap.SoapMessage message,
String booleanKey,
String instanceKey)
Get a ReplayCache instance.
|
static X509Certificate |
getReqSigCert(List<WSHandlerResult> results)
Get the certificate that was used to sign the request
|
static Crypto |
getSignatureCrypto(Object s,
org.apache.cxf.binding.soap.SoapMessage message,
PasswordEncryptor passwordEncryptor) |
static Crypto |
loadCryptoFromPropertiesFile(Message message,
String propFilename,
ClassLoader classLoader,
PasswordEncryptor passwordEncryptor) |
static String |
parseAndStoreStreamingSecurityToken(org.apache.xml.security.stax.securityToken.SecurityToken securityToken,
Message message) |
public static ReplayCache getReplayCache(org.apache.cxf.binding.soap.SoapMessage message, String booleanKey, String instanceKey)
public static String parseAndStoreStreamingSecurityToken(org.apache.xml.security.stax.securityToken.SecurityToken securityToken, 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, WSSecurityException e)
public static Properties getProps(Object o, URL propsURL)
public static Crypto loadCryptoFromPropertiesFile(Message message, String propFilename, ClassLoader classLoader, PasswordEncryptor passwordEncryptor) throws WSSecurityException
WSSecurityException
public static Crypto getEncryptionCrypto(Object e, org.apache.cxf.binding.soap.SoapMessage message, PasswordEncryptor passwordEncryptor) throws WSSecurityException
WSSecurityException
public static Crypto getSignatureCrypto(Object s, org.apache.cxf.binding.soap.SoapMessage message, PasswordEncryptor passwordEncryptor) throws WSSecurityException
WSSecurityException
public static X509Certificate getReqSigCert(List<WSHandlerResult> results)
Copyright © 2016 JBoss by Red Hat. All rights reserved.