Meaningless Drivel is fun!*
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
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
Author

Calling WS without having entry in User registry

Amol Katyare
Ranch Hand

Joined: Apr 02, 2007
Posts: 36
Hi,

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?

Thanks,
Amol.


SCJP [1.4]
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42600
    
  65
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)


Pradeep.Jaladi
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.

Thanks,
Amol.
Mohamed Riaz
Greenhorn

Joined: Dec 26, 2011
Posts: 2
@Amol

I am facing the same issue.


com.ibm.wsspi.wssecurity.SoapSecurityException: WSEC6521E: Login failed. The exception is : javax.security.auth.login.LoginException: 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?

Regards
Riaz
H Paul
Ranch Hand

Joined: Jul 26, 2011
Posts: 471
    
    4
Access to Administration Console --> Users and Groups --> Manage Users
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Calling WS without having entry in User registry