This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes BEA/Weblogic and the fly likes New realm user not getting recognised Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "New realm user not getting recognised" Watch "New realm user not getting recognised" New topic

New realm user not getting recognised

manjusha ayyalasomayajula

Joined: Jul 01, 2009
Posts: 6

As part of our webservices exposure we create new users for any new consumers and give them access to only few services which are required by the consumer.
As part of that we update three files in our application
1. ejb-method-permissions.ent
2. ejb-security-roles.xml
3. weblogic-security-role-assignment.xml

And also created the new user in weblogic admin console myrealm user management section.

But when we try to call the webservice with that user we always get HTTP 401 Unauthorised.
All the old users are working except the new one and we have done this similar exercise a couple of times.
sudipto shekhar
Ranch Hand

Joined: Apr 02, 2008
Posts: 823

Hi Manjusha,

A few things we would like to know:

1. How is the webserice hosted?
2. What is the application that is trying to access the webservice?
3. Have you assigned the user to correct role and group?
4. In the weblogic log messages, what is the exact exception that you observe? A stack trace would be helpful.

Regards, Sud.
I agree. Here's the link:
subject: New realm user not getting recognised
jQuery in Action, 3rd edition