Package org.apache.wss4j.dom.handler
Class SignatureConfirmationTest
- java.lang.Object
-
- org.apache.wss4j.dom.handler.SignatureConfirmationTest
-
public class SignatureConfirmationTest extends Object
A set of test-cases for SignatureConfirmation.
-
-
Constructor Summary
Constructors Constructor Description SignatureConfirmationTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testRequestNotSavedSignature()
Test to see that a signature is not saved on the outbound request if enable signature confirmation is false.void
testRequestSavedSignature()
Test to see that a signature is saved correctly on the outbound request.void
testSAMLSignatureConfirmationProcessing()
void
testSignatureConfirmationProcessing()
Test to see that a signature confirmation response is correctly processed.void
testSignatureConfirmationResponse()
Test to see that a signature confirmation response is correctly sent on receiving a signed message.void
testSignatureResponseForUnsignedRequest()
void
testWsuId()
Test to see that a signature confirmation response that does not contain a wsu:Id fails the BSP compliance is enabled.
-
-
-
Method Detail
-
testRequestSavedSignature
@Test public void testRequestSavedSignature() throws Exception
Test to see that a signature is saved correctly on the outbound request.- Throws:
Exception
-
testRequestNotSavedSignature
@Test public void testRequestNotSavedSignature() throws Exception
Test to see that a signature is not saved on the outbound request if enable signature confirmation is false.- Throws:
Exception
-
testSignatureConfirmationResponse
@Test public void testSignatureConfirmationResponse() throws Exception
Test to see that a signature confirmation response is correctly sent on receiving a signed message.- Throws:
Exception
-
testSignatureConfirmationProcessing
@Test public void testSignatureConfirmationProcessing() throws Exception
Test to see that a signature confirmation response is correctly processed.- Throws:
Exception
-
testWsuId
@Test public void testWsuId() throws Exception
Test to see that a signature confirmation response that does not contain a wsu:Id fails the BSP compliance is enabled.- Throws:
Exception
-
testSignatureResponseForUnsignedRequest
@Test public void testSignatureResponseForUnsignedRequest() throws Exception
- Throws:
Exception
-
-