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: 35223
7
posted
0
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?
try with setting the header parameters ( username, password)
Pradeep.Jaladi
Amol Katyare
Ranch Hand
Joined: Apr 02, 2007
Posts: 36
posted
0
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
posted
0
@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: 299
posted
0
Access to Administration Console --> Users and Groups --> Manage Users
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.
subject: Calling WS without having entry in User registry