File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 813

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
Similar Threads
web logic 6.1 console logon
authenticate anonymous user of a web app to the EJB tier
How to get User groups and Users from WindowsNTAuthenticator in WLS 9.1
User persistence to Embedded LDAP
EJB/WebLogic security issue