org.apache.ws.security.handler
Class CustomActionProcessorTest

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

public class CustomActionProcessorTest
extends org.junit.Assert

A test for adding custom actions/processors etc.


Constructor Summary
CustomActionProcessorTest()
           
 
Method Summary
 void testCustomAction()
          Test to see that a custom action configured through a WSSConfig instance is called
 void testCustomActionObject()
          Test to see that a custom action object configured through a WSSConfig instance is called
 void testCustomUserProcessor()
          Test to see that a custom processor configured through a WSSConfig instance is called
 void testCustomUserProcessorObject()
          Test to see that a custom processor (object) configured through a WSSConfig instance is called
 void testDecodeCustomAction()
          Test to see that a custom action can be configured via WSSecurityUtil.decodeAction.
 
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

CustomActionProcessorTest

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

testCustomUserProcessor

public void testCustomUserProcessor()
                             throws java.lang.Exception
Test to see that a custom processor configured through a WSSConfig instance is called

Throws:
java.lang.Exception

testCustomUserProcessorObject

public void testCustomUserProcessorObject()
                                   throws java.lang.Exception
Test to see that a custom processor (object) configured through a WSSConfig instance is called

Throws:
java.lang.Exception

testCustomAction

public void testCustomAction()
                      throws java.lang.Exception
Test to see that a custom action configured through a WSSConfig instance is called

Throws:
java.lang.Exception

testCustomActionObject

public void testCustomActionObject()
                            throws java.lang.Exception
Test to see that a custom action object configured through a WSSConfig instance is called

Throws:
java.lang.Exception

testDecodeCustomAction

public void testDecodeCustomAction()
                            throws java.lang.Exception
Test to see that a custom action can be configured via WSSecurityUtil.decodeAction. A standard Timestamp action is also configured.

Throws:
java.lang.Exception


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