This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Websphere and the fly likes WAS 4.0.3 Enabling security issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "WAS 4.0.3 Enabling security issue" Watch "WAS 4.0.3 Enabling security issue" New topic

WAS 4.0.3 Enabling security issue

Michael Bulpin

Joined: Oct 30, 2002
Posts: 7
Wondering if anyone can shed some light on this one, I'm a little stumped !
I ahve WAS 4.0.3, and want to enable security, I've edited the server-cfg.xml to enable security, entered the server id and confirmed password and the server failed to restart with the following error:
Authentication failed, unable to get the mapped credential for secowncredentials. Authentication failed. Verify that the user/id password is correct. Ched the properties file to ensure the login source is valid. If this error occurs on the server, check the server properties to ensure the principalName has a valid realm and userid.
Now Im 100% sure the password and user id are correct. So much so that my actual id and password are 1 character, the same character, so I cant get it wrong !
I also tried unchecking the "enable security" checkbox then restarting the server, and attempting to enable security using the admin client, but when I enter the userID and password under the local OS authentication node I get the error that the userid/password are incorrect.
Frustration sets in quite nicely at this stage :-)
Can anyone throw me a bone on this one !
P.S. I also have another PC identical config that is working... go figure ....
Michael Bulpin

Joined: Oct 30, 2002
Posts: 7
Additional info: I have WSAD 4.0.3 running WAS 4.0.2. Unsure if this is a known bug, how can I find out ?
Patrick Finnegan
Ranch Hand

Joined: Mar 05, 2002
Posts: 179
Assuming you are running WS Single Server. Is the userid a valid local user on your system? i.e did you create the user on your PC as in "net user newuser /add"
Michael Bulpin

Joined: Oct 30, 2002
Posts: 7
Thanks for your time.
I didnt add the user that way, but I've added many users using the GUI, and tested almost all my local users, including the Administrator (ok so I was desperate) and still I get an invalid user Id and password.
ITs quite a simple process to enable the security, but it just will not validate the user.
Any more suggestions.
I agree. Here's the link:
subject: WAS 4.0.3 Enabling security issue