|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.xml.security.stax.ext.XMLSec
public class XMLSec
This is the central class of the streaming XML-security framework.
Instances of the inbound and outbound security streams can be retrieved
with this class.
Constructor Summary | |
---|---|
XMLSec()
|
Method Summary | |
---|---|
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 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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XMLSec()
Method Detail |
---|
public static OutboundXMLSec getOutboundXMLSec(XMLSecurityProperties securityProperties) throws XMLSecurityException
securityProperties
- The user-defined security configuration
XMLSecurityException
- if the initialisation failed
XMLSecurityConfigurationException
- if the configuration is invalidpublic static InboundXMLSec getInboundWSSec(XMLSecurityProperties securityProperties) throws XMLSecurityException
securityProperties
- The user-defined security configuration
XMLSecurityException
- if the initialisation failed
XMLSecurityConfigurationException
- if the configuration is invalidpublic static XMLSecurityProperties validateAndApplyDefaultsToOutboundSecurityProperties(XMLSecurityProperties securityProperties) throws XMLSecurityConfigurationException
securityProperties
- The configuration to validate
XMLSecurityConfigurationException
- if the configuration is invalidpublic static XMLSecurityProperties validateAndApplyDefaultsToInboundSecurityProperties(XMLSecurityProperties securityProperties) throws XMLSecurityConfigurationException
securityProperties
- The configuration to validate
XMLSecurityConfigurationException
- if the configuration is invalid
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |