[ http://issues.apache.org/jira/browse/AXIS2-656?page=comments#action_12377421 ]
Sanjiva Weerawarana commented on AXIS2-656: ------------------------------------------- This is already possible using options that affect the underlying HTTP transport. Even beyond 1.0, IMO its not good to make Options() special case HTTP Basic Auth behavior .. depending on the underlying policy involved there can be one of many security configs that are valid. Anyway, there is rationale to the keep the simple case simple argument too :). > Support for basic authentication > -------------------------------- > > Key: AXIS2-656 > URL: http://issues.apache.org/jira/browse/AXIS2-656 > Project: Apache Axis 2.0 (Axis2) > Type: New Feature > Components: client-api > Reporter: Petri Hakala > Priority: Minor > > There is no support for basic authentication when making webservice calls via > ServiceClient class. I see there is basic authentication support for proxy > server but not for direct connection. > It would be nice to have something following: > ServiceClient client = new ServiceClient(); > client.getOptions().setUsername("username"); > client.getOptions().setPassword("password"); > Axis 1.3 have these in class org.apache.axis.client.Stub. > -pete- -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
