public class XMLSec extends Object
Constructor | Description |
---|---|
XMLSec() |
Modifier and Type | Method | Description |
---|---|---|
static InboundXMLSec |
getInboundWSSec(XMLSecurityProperties securityProperties) |
Creates and configures an inbound streaming security engine
|
static OutboundXMLSec |
getOutboundXMLSec(XMLSecurityProperties securityProperties) |
Creates and configures an outbound streaming security engine
|
static void |
init() |
|
static XMLSecurityProperties |
validateAndApplyDefaultsToInboundSecurityProperties(XMLSecurityProperties securityProperties) |
Validates the user supplied configuration and applies default values as appropriate for the inbound security engine
|
static XMLSecurityProperties |
validateAndApplyDefaultsToOutboundSecurityProperties(XMLSecurityProperties securityProperties) |
Validates the user supplied configuration and applies default values as appropriate for the outbound security engine
|
public static void init()
public static OutboundXMLSec getOutboundXMLSec(XMLSecurityProperties securityProperties) throws XMLSecurityException
securityProperties
- The user-defined security configurationXMLSecurityException
- if the initialisation failedXMLSecurityConfigurationException
- if the configuration is invalidpublic static InboundXMLSec getInboundWSSec(XMLSecurityProperties securityProperties) throws XMLSecurityException
securityProperties
- The user-defined security configurationXMLSecurityException
- if the initialisation failedXMLSecurityConfigurationException
- if the configuration is invalidpublic static XMLSecurityProperties validateAndApplyDefaultsToOutboundSecurityProperties(XMLSecurityProperties securityProperties) throws XMLSecurityConfigurationException
securityProperties
- The configuration to validateXMLSecurityConfigurationException
- if the configuration is invalidpublic static XMLSecurityProperties validateAndApplyDefaultsToInboundSecurityProperties(XMLSecurityProperties securityProperties) throws XMLSecurityConfigurationException
securityProperties
- The configuration to validateXMLSecurityConfigurationException
- if the configuration is invalidCopyright © 2000–2018 The Apache Software Foundation. All rights reserved.