5 Replies Latest reply: Nov 19, 2012 1:18 AM by Lother-Oracle RSS

    @Policy Lifecycle ?

    Lother-Oracle
      I have created a WS with @Policy(uri = "policy:Wssp1.2-2007-Https-BasicAuth.xml" , attachToWsdl=false) and have created a AuthHandler that implements SOAPHandler<SOAPMessageContext> and I have overridden the Method to append HTTP header with Basic Auth details.

      But when I call it from SoapUI WITHOUT the username and password, it doesnot call the handler and I get no error.

      If I do the same WITH Username and password sent from the SOAP UI it works fine.

      My requirement is : I dont want the client to sent the username and password, instead I want to append that header in my handler and then take care of auth. How can i achieve so ?

      ~TIA