Class CallbackRefTest


  • public class CallbackRefTest
    extends Object
    Test case for WSS-245 - "WSHandlerConstants.PW_CALLBACK_REF isn't correctly searched for" https://issues.apache.org/jira/browse/WSS-245
    • Constructor Detail

      • CallbackRefTest

        public CallbackRefTest()
    • Method Detail

      • testMessageContextRef

        @Test
        public void testMessageContextRef()
                                   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
      • testHandlerOptionRef

        @Test
        public void testHandlerOptionRef()
                                  throws Exception
        A test for WSHandler.getPassword(...) where the password is obtained from a Callback Handler, which is obtained from the handler options using a ref.
        Throws:
        Exception