Don't we have a doc on this? Thanks, Samisa...
Samisa Abeysinghe Vice President Training WSO2 Inc. http://wso2.com On Mon, Dec 9, 2013 at 10:16 AM, Jeewantha Dharmaparakrama < jeewan...@wso2.com> wrote: > You have to create that Implementing > "javax.security.auth.callback.CallbackHandler". See the example in the > article. When WSS Policy is enabled ( I believe you enabled Username Token > Policy at ESB proxy) , there has to be WSSecurity header in the SOAP > request with Username and password. Rampart needs a password callback > handler to get the password. > > Jeewantha > > > On Mon, Dec 9, 2013 at 10:07 AM, Dimuthu Upeksha <dimut...@wso2.com>wrote: > >> Hi Jeewantha, >> The class "PasswordCallbackHandler" can not be found in axis2 or rampart >> libs. What is the library that contains it? >> >> >> On Mon, Dec 9, 2013 at 10:00 AM, Jeewantha Dharmaparakrama < >> jeewan...@wso2.com> wrote: >> >>> Hi Dimuthu, >>> >>> You have to set the password callback handler at client side. Try adding >>> it to client's "options " [1] >>> >>> [1] http://wso2.com/library/3733/ >>> >>> Jeewantha >>> >>> >>> On Mon, Dec 9, 2013 at 9:43 AM, Dimuthu Upeksha <dimut...@wso2.com>wrote: >>> >>>> Hi all, >>>> I am trying to implement a secure client to a secure proxy service in >>>> ESB. However I am getting an exception [2] at line [3]. I tried to capture >>>> packets going out from the client using tcpMon but I found nothing going >>>> out. It seems like a dependancy problem in the client but not sure. What >>>> could be the reason for that? >>>> >>>> Thank you >>>> >>>> [1] https://gist.github.com/DImuthuUpe/7867226 >>>> [2] https://gist.github.com/DImuthuUpe/7867246 >>>> [3] https://gist.github.com/DImuthuUpe/7867226#file-gistfile1-txt-L127 >>>> >>>> Dimuthu >>>> >>>> _______________________________________________ >>>> Dev mailing list >>>> Dev@wso2.org >>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>> >>>> >>> >>> >>> -- >>> Jeewantha Dharmaparakrama >>> Software Engineer; WSO2, Inc.; http://wso2.com/ >>> Phone : (+94) 774726790 >>> Skype : prasad.jeewantha >>> LinkedIn : http://www.linkedin.com/in/jeewanthad >>> Twitter: https://twitter.com/jeewamp >>> Blog: http://jeewanthad.blogspot.com/ >>> >> >> > > > -- > Jeewantha Dharmaparakrama > Software Engineer; WSO2, Inc.; http://wso2.com/ > Phone : (+94) 774726790 > Skype : prasad.jeewantha > LinkedIn : http://www.linkedin.com/in/jeewanthad > Twitter: https://twitter.com/jeewamp > Blog: http://jeewanthad.blogspot.com/ >
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev