Class ProtectionOrderTest
- java.lang.Object
-
- org.apache.wss4j.stax.test.AbstractTestBase
-
- org.apache.wss4j.policy.stax.test.AbstractPolicyTestBase
-
- org.apache.wss4j.policy.stax.test.ProtectionOrderTest
-
public class ProtectionOrderTest extends AbstractPolicyTestBase
-
-
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 ProtectionOrderTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testPolicyEncryptBeforeSign()
void
testPolicyEncryptBeforeSignNegative()
void
testPolicyEncryptBeforeSignWithoutSignature()
void
testPolicySignBeforeEncrypt()
void
testPolicySignBeforeEncryptNegative()
void
testPolicySignBeforeEncryptWithoutEncryption()
-
Methods inherited from class org.apache.wss4j.policy.stax.test.AbstractPolicyTestBase
buildAndStartPolicyEngine, buildAndStartPolicyEngine, buildAndStartPolicyEngine, createSamlAssertionWrapper, getDsaKeyValueSecurityToken, getECKeyValueSecurityToken, getHttpsSecurityToken, getKerberosServiceSecurityToken, getRsaKeyValueSecurityToken, getX509Token, getX509Token, loadResourceAsString, setUp
-
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
-
testPolicySignBeforeEncrypt
@Test public void testPolicySignBeforeEncrypt() throws Exception
- Throws:
Exception
-
testPolicySignBeforeEncryptWithoutEncryption
@Test public void testPolicySignBeforeEncryptWithoutEncryption() throws Exception
- Throws:
Exception
-
testPolicySignBeforeEncryptNegative
@Test public void testPolicySignBeforeEncryptNegative() throws Exception
- Throws:
Exception
-
testPolicyEncryptBeforeSign
@Test public void testPolicyEncryptBeforeSign() throws Exception
- Throws:
Exception
-
testPolicyEncryptBeforeSignWithoutSignature
@Test public void testPolicyEncryptBeforeSignWithoutSignature() throws Exception
- Throws:
Exception
-
-