It's not a secret anymore!*
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "New realm user not getting recognised" Watch "New realm user not getting recognised" New topic
Author

New realm user not getting recognised

manjusha ayyalasomayajula
Greenhorn

Joined: Jul 01, 2009
Posts: 6
Hi,

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.
SCJP 5 ScjpFAQ JLS
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: New realm user not getting recognised
 
Similar Threads
User persistence to Embedded LDAP
How to get User groups and Users from WindowsNTAuthenticator in WLS 9.1
authenticate anonymous user of a web app to the EJB tier
EJB/WebLogic security issue
web logic 6.1 console logon