org.apache.ws.security.handler
Class SignatureConfirmationTest

java.lang.Object
  extended by org.junit.Assert
      extended by org.apache.ws.security.handler.SignatureConfirmationTest

public class SignatureConfirmationTest
extends org.junit.Assert

A set of test-cases for SignatureConfirmation.


Constructor Summary
SignatureConfirmationTest()
           
 
Method Summary
 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 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 testWsuId()
          Test to see that a signature confirmation response that does not contain a wsu:Id fails the BSP compliance is enabled.
 
Methods inherited from class org.junit.Assert
assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertThat, assertThat, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SignatureConfirmationTest

public SignatureConfirmationTest()
                          throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

testRequestSavedSignature

public void testRequestSavedSignature()
                               throws java.lang.Exception
Test to see that a signature is saved correctly on the outbound request.

Throws:
java.lang.Exception

testRequestNotSavedSignature

public void testRequestNotSavedSignature()
                                  throws java.lang.Exception
Test to see that a signature is not saved on the outbound request if enable signature confirmation is false.

Throws:
java.lang.Exception

testSignatureConfirmationResponse

public void testSignatureConfirmationResponse()
                                       throws java.lang.Exception
Test to see that a signature confirmation response is correctly sent on receiving a signed message.

Throws:
java.lang.Exception

testSignatureConfirmationProcessing

public void testSignatureConfirmationProcessing()
                                         throws java.lang.Exception
Test to see that a signature confirmation response is correctly processed.

Throws:
java.lang.Exception

testWsuId

public void testWsuId()
               throws java.lang.Exception
Test to see that a signature confirmation response that does not contain a wsu:Id fails the BSP compliance is enabled.

Throws:
java.lang.Exception


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.