• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

New realm user not getting recognised

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 826
Eclipse IDE Oracle Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
snakes are really good at eating slugs. And you wouldn't think it, but so are tiny ads:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic