my dog learned polymorphism*
The moose likes Web Services and the fly likes Calling WS without having entry in User registry Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Calling WS without having entry in User registry" Watch "Calling WS without having entry in User registry" New topic

Calling WS without having entry in User registry

Amol Katyare
Ranch Hand

Joined: Apr 02, 2007
Posts: 36

I've stand alone WS java client. I am passing the user name and password through UserName token in the SOAP request. But the login fails as am not added in the User registry on the server side and UserRegistry verification fails.
Excpetion is as shown below:

I wanted to know if it is possible to authenticate user without adding him/her in the user registry on the server side?

When I make the WS call from web client, there is one URL which authenticates the current user (the same user which is I use in stand alone java client implementation) temporarily and then I can call WS successfully in the same browser window(only). But am not exactly sure how they authenticate user.

Could you please help me out?


SCJP [1.4]
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 41135
I'm guessing that it isn't possible, as that would run counter to the whole point of having a user registry.

Does that mean the server isn't under your control (and consequently you can't add yourself)? Could the people who created your account do that?

Ping & DNS - my free Android networking tools app
pradeep jaladi
Ranch Hand

Joined: Nov 21, 2004
Posts: 65
try with setting the header parameters ( username, password)

Amol Katyare
Ranch Hand

Joined: Apr 02, 2007
Posts: 36
Yes, the server isn't in my control. But they have added me in the user registry now and am able to invoke successfully.

Appreciate your help.

Mohamed Riaz

Joined: Dec 26, 2011
Posts: 2

I am facing the same issue. WSEC6521E: Login failed. The exception is : WSEC6690E: Failed to check username [ecsm00m] and password in the UserRegsitry: UserRegistryProcessor.checkRegistry()=false

I am working on my local machine. so i have access over my websphere. Can you please tell me how to add the users to registry?

H Paul
Ranch Hand

Joined: Jul 26, 2011
Posts: 395
Access to Administration Console --> Users and Groups --> Manage Users
Consider Paul's rocket mass heater.
subject: Calling WS without having entry in User registry
Similar Threads
Accesing restricted EJBs from Swing Apps
Web Service Client: Can't read fault instead an IOException is read.
EJB Security: Not getting correct name in Principal
changing parameter and creating new request with changed parameter