Class WSHandlerGetPasswordTest


  • public class WSHandlerGetPasswordTest
    extends Object
    WS-Security Test Case for the getPassword method in WSHandler.

    • Constructor Detail

      • WSHandlerGetPasswordTest

        public WSHandlerGetPasswordTest()
    • Method Detail

      • testGetPasswordRequestContextUnit

        @Test
        public void testGetPasswordRequestContextUnit()
                                               throws Exception
        A unit test for WSHandler.getPassword(...), where the password is obtained from the Message Context.
        Throws:
        Exception
      • testGetPasswordRequestContext

        @Test
        public void testGetPasswordRequestContext()
                                           throws Exception
        A WSHandler test for WSHandler.getPassword(...), where the password is obtained from the Message Context.
        Throws:
        Exception
      • testGetPasswordCallbackHandlerRef

        @Test
        public void testGetPasswordCallbackHandlerRef()
                                               throws 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:
        Exception