Hi there,
When using the CommonHttpMessageSender as the messageSender in a WS clien, I pass the credentials as
Should I write the credentials in plain text, or is there a way to relocate them in another file for better maintainability?Code:<property name="credentials"> <bean class="org.apache.commons.httpclient.UsernamePasswordCredentials"> <constructor-arg value="username" /> <constructor-arg value="password" /> </bean> </property>
What is the best practice?
Best,
wi.lee


Reply With Quote