Package org.apache.wss4j.stax.test
Class InteroperabilityTest
- java.lang.Object
-
- org.apache.wss4j.stax.test.AbstractTestBase
-
- org.apache.wss4j.stax.test.InteroperabilityTest
-
public class InteroperabilityTest extends AbstractTestBase
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.wss4j.stax.test.AbstractTestBase
AbstractTestBase.TestSecurityEventListener
-
-
Field Summary
-
Fields inherited from class org.apache.wss4j.stax.test.AbstractTestBase
documentBuilderFactory, SECURED_DOCUMENT, TRANSFORMER_FACTORY, xmlInputFactory
-
-
Constructor Summary
Constructors Constructor Description InteroperabilityTest()
-
Method Summary
-
Methods inherited from class org.apache.wss4j.stax.test.AbstractTestBase
doInboundSecurity, doInboundSecurity, doInboundSecurity, doInboundSecurity, doInboundSecurity, doInboundSecurity, doInboundSecurityWithWSS4J, doInboundSecurityWithWSS4J_1, doInboundSecurityWithWSS4J_1, doOutboundSecurity, doOutboundSecurity, doOutboundSecurityWithWSS4J, doOutboundSecurityWithWSS4J_1, getJavaSpecificationVersion, getMessageContext, getXPath
-
-
-
-
Method Detail
-
testInteroperabilityInbound
@Test public void testInteroperabilityInbound() throws Exception
- Throws:
Exception
-
testInteroperabilityInboundSOAP12
@Test public void testInteroperabilityInboundSOAP12() throws Exception
- Throws:
Exception
-
testInteroperabilityEncryptedSignatureInbound
@Test public void testInteroperabilityEncryptedSignatureInbound() throws Exception
- Throws:
Exception
-
testInteroperabilityInboundReverseOrder
@Test public void testInteroperabilityInboundReverseOrder() throws Exception
- Throws:
Exception
-
testInteroperabilityOutbound
@Test public void testInteroperabilityOutbound() throws Exception
- Throws:
Exception
-
testInteroperabilityOutboundReverseOrder
@Test public void testInteroperabilityOutboundReverseOrder() throws Exception
- Throws:
Exception
-
testInteroperabilityOutboundSignature
@Test public void testInteroperabilityOutboundSignature() throws Exception
- Throws:
Exception
-
testInteroperabilityInboundSecurityHeaderTimestampOrder
@Test public void testInteroperabilityInboundSecurityHeaderTimestampOrder() throws Exception
- Throws:
Exception
-
testEncDecryptionUseReqSigCert
@Test public void testEncDecryptionUseReqSigCert() throws Exception
- Throws:
Exception
-
testEncryptedSignatureC14NInclusivePartsOutbound
@Test public void testEncryptedSignatureC14NInclusivePartsOutbound() throws Exception
- Throws:
Exception
-
testSignatureC14NInclusivePartsInbound
@Test public void testSignatureC14NInclusivePartsInbound() throws Exception
Inclusive Canonicalization with Encryption is problematic because xenc namespace "leaks" WSS4J sets the xenc ns on the soap envelope which is not included in the signature on the sending side. swsssf sets the ns where it belongs and so we don't have this problem. But if we get an xenc ns on the envelope we will get a signature error. This case can't be handled correctly. This is also one of the reasons why a exclusive canonicalisation is preferred for SOAP- Throws:
Exception
-
testInteroperabilitySOAPActionInbound
@Test public void testInteroperabilitySOAPActionInbound() throws Exception
- Throws:
Exception
-
testInteroperabilityInvalidSOAPActionInbound
@Test public void testInteroperabilityInvalidSOAPActionInbound() throws Exception
- Throws:
Exception
-
testInteroperabilitySOAPRoleInbound
@Test public void testInteroperabilitySOAPRoleInbound() throws Exception
- Throws:
Exception
-
testInteroperabilityTwoSecurityHeadersSOAPRoleInbound
@Test public void testInteroperabilityTwoSecurityHeadersSOAPRoleInbound() throws Exception
- Throws:
Exception
-
testInteroperabilitySOAPActionOutbound
@Test public void testInteroperabilitySOAPActionOutbound() throws Exception
- Throws:
Exception
-
testInteroperabilityInvalidSOAPActionOutbound
@Test public void testInteroperabilityInvalidSOAPActionOutbound() throws Exception
- Throws:
Exception
-
testInteroperabilitySOAPRoleOutbound
@Test public void testInteroperabilitySOAPRoleOutbound() throws Exception
- Throws:
Exception
-
testInteroperabilityTwoSecurityHeadersSOAPRoleOutbound
@Test public void testInteroperabilityTwoSecurityHeadersSOAPRoleOutbound() throws Exception
- Throws:
Exception
-
-