org.apache.ws.security.handler
Class WSHandlerGetPasswordTest

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

public class WSHandlerGetPasswordTest
extends org.junit.Assert

WS-Security Test Case for the getPassword method in WSHandler.


Constructor Summary
WSHandlerGetPasswordTest()
           
 
Method Summary
 void testGetPasswordCallbackHandlerRef()
          A test for WSHandler.getPassword(...), where the password is obtained from a Callback Handler, which is placed on the Message Context using a reference.
 void testGetPasswordRequestContext()
          A WSHandler test for WSHandler.getPassword(...), where the password is obtained from the Message Context.
 void testGetPasswordRequestContextUnit()
          A unit test for WSHandler.getPassword(...), where the password is obtained from the Message Context.
 
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

WSHandlerGetPasswordTest

public WSHandlerGetPasswordTest()
Method Detail

testGetPasswordRequestContextUnit

public void testGetPasswordRequestContextUnit()
                                       throws java.lang.Exception
A unit test for WSHandler.getPassword(...), where the password is obtained from the Message Context.

Throws:
java.lang.Exception

testGetPasswordRequestContext

public void testGetPasswordRequestContext()
                                   throws java.lang.Exception
A WSHandler test for WSHandler.getPassword(...), where the password is obtained from the Message Context.

Throws:
java.lang.Exception

testGetPasswordCallbackHandlerRef

public void testGetPasswordCallbackHandlerRef()
                                       throws java.lang.Exception
A test for WSHandler.getPassword(...), where the password is obtained from a Callback Handler, which is placed on the Message Context using a reference.

Throws:
java.lang.Exception


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