This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Websphere and the fly likes web service security error using basic auth Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "web service security error using basic auth" Watch "web service security error using basic auth" New topic
Author

web service security error using basic auth

Martin Lira
Ranch Hand

Joined: May 26, 2004
Posts: 97
Hi guys,
I have a web service deployed on WebSphere App Server. The web service has enabled security by Basic Auth.

Server side:
LoginConfig = Basic Auth
LoginMapping = Basic Auth, Config Name = WSLogin,
Callback Handler = com.ibm.wsspi.wssecurity.auth.callback.WSCallbackHandlerFactoryImpl

Java Client side:
LoginConfig=Basic Auth
LoginBinding= BasicAuth
Callback Handler = com.ibm.wsspi.wssecurity.auth.callback.NonPromptCallbackHandler
user and password have been specified.

Server specs:
Custom registry, SWAM, created new ServerKey and ServerTrust files.

When i invoke client get exception:
WSEC5075E: No security token found which satisfies any one of AuthMethods.

Same error comes from a dot net client.

Environment:
WSAD 5.1.0
Server is IBM WebSphere Application Server Version 5.0.2
Windows 2000

Please let me know why I am getting that error.

Thanks
ML
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: web service security error using basic auth
 
Similar Threads
WebSphere and client-cert
Web Service Security
Encript the password in jboss
Can you call a local WS without creating proxy classes?
Authenticate and authorise access to webservices