Win a copy of Microservices Testing (Live Project) this week in the Spring forum!
  • 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 ...
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

No Permission Exception

Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am doing a operation using web application. User able to logged into the web application and can finish the operation successfully first time. If we start the same operation second time then it is calling the create method of ejb session home it is throwing the following exception>


CORBA NO_PERMISSION OxO No; nested exception is:

org.omg.CORBA.NO_PERMISSION: java.rmi.AccessException: ; nested exception is: SECJ0053E: Authorization failed for /UNAUTHENTICATED while inviokin (HOME)MySessionBean create: 2 securityName: /UNAUTHENTICATED; accessID: UNAUTHENTICATED is not granted any of the required roles: SecurityRole1, SecurityRole2 vmcidL oxo minor code:0 completed: No


Can any one help me or give me any suggestions.

I checked that the logged in user is properly mapped to securityrole.I am sure in that.

FYI: I am using 'FORM' based authentication in my web application. Is it gives any problem with websphere because same application is working in jboss.

With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    Bookmark Topic Watch Topic
  • New Topic