Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Login access to WS  RSS feed

 
Raghu Sha
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am using Spring WS.
For security, instead of cheching username,password, have to check access id.
Is there is any class in spring to pass the access id parameter only.?

<bean class="org.springframework.ws.transport.http.CommonsHttpMessageSender">
<property name="credentials">
<bean class="org.apache.commons.httpclient.UsernamePasswordCredentials">
<constructor-arg value="${authenticate.user}" />
<constructor-arg value="${autheticate.password}" />
 
Kesava Krishna
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you mean by access id. Try providing access id as username and empty password. If you are service provider and check for only userid which is nothing but in your case accessid.
There must be some sort of authentication which should also involve password protection which will make your system/application hack free.

Thanks,
Kesava
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!