Package org.apache.wss4j.stax.test
Class ReplayTest
- java.lang.Object
-
- org.apache.wss4j.stax.test.AbstractTestBase
-
- org.apache.wss4j.stax.test.ReplayTest
-
public class ReplayTest 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 ReplayTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testEhCacheReplayedSAML2()
Test that creates, sends and processes an unsigned SAML 2 authentication assertion.void
testEhCacheReplayedSAML2OneTimeUse()
Test that creates, sends and processes an unsigned SAML 2 authentication assertion with a OneTimeUse Elementvoid
testReplayedTimestamp()
void
testUsernameToken()
-
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
-
testEhCacheReplayedSAML2
@Test public void testEhCacheReplayedSAML2() throws Exception
Test that creates, sends and processes an unsigned SAML 2 authentication assertion. This is just a sanity test to make sure that it is possible to send the SAML token twice, as no "OneTimeUse" Element is defined there is no problem with replaying it. with a OneTimeUse Element- Throws:
Exception
-
-