aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 39530
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 - updated with new look and Ping home screen widget
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: 381
Access to Administration Console --> Users and Groups --> Manage Users
I agree. Here's the link:
subject: Calling WS without having entry in User registry
Similar Threads
changing parameter and creating new request with changed parameter
Accesing restricted EJBs from Swing Apps
EJB Security: Not getting correct name in Principal
Web Service Client: Can't read fault instead an IOException is read.