File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Calling WS without having entry in User registry

 
Amol Katyare
Ranch Hand
Posts: 36
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
pradeep jaladi
Ranch Hand
Posts: 65
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
try with setting the header parameters ( username, password)
 
Amol Katyare
Ranch Hand
Posts: 36
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
@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
Posts: 471
4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Access to Administration Console --> Users and Groups --> Manage Users
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic