Saminda The priority should be given to the option object.
I don't think we should ever use the Proxy credentials for the target service - that would be a security flaw. Paul On 8/3/07, Saminda Abeyruwan <[EMAIL PROTECTED]> wrote: > To get Http basic auth or proxy auth we use > HttpTransportProperties.Authenticator and > HttpTransportProperties.ProxyProperties classes. If the > username and password is available in Options object, should the precedence > be give to the prior classes or former Option object. > > Thank you > > Saminda > > > On 8/3/07, Deepal Jayasinghe <[EMAIL PROTECTED]> wrote: > > Assuming it is a really useful feature , here is my +1 > > > > Thanks > > Deepal > > > Hi All, > > > > > > There two widely used cases where the client will have to provide a > > > username and a password when accessing a service. > > > > > > - UsernameToken authentication > > > - HTTP basic auth > > > > > > Right now with Axis2 these two requires the user to provide the > > > username in different ways. It will be great if we can have a scenario > > > where we simply set these two values in the Options object and expect > > > the modules to use these values in applying the policy expressed by > > > the service (adding a UT or basic auth). > > > > > > Thoughts? > > > > > > Thanks, > > > Ruchith > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: > [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > -- > > Thanks, > > Deepal > > > ................................................................ > > "The highest tower is built one brick at a time" > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > -- > Saminda Abeyruwan > > Software Engineer > WSO2 Inc. - www.wso2.org -- Paul Fremantle Co-Founder and VP of Technical Sales, WSO2 OASIS WS-RX TC Co-chair blog: http://pzf.fremantle.org [EMAIL PROTECTED] "Oxygenating the Web Service Platform", www.wso2.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]