• 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

security issues regarding EJB in websphere

Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have Security related issues on websphere.....My security is with an LDAP server..but when i try to deploy my EAR with security option as all authenticated I get the followinhg error
2604e5a7 SecurityColla A SECJ0053E: Authorization failed for ??? while invoking (Home)myhome create:2 securityName: ???;accessID: ??? is not granted any of the required roles: WASAdmin
where WASAdmin is the user for my LDAP server.can u help me regarding this and send me the soln as soon as possible.I am sending my EAR as attatched file
High Plains Drifter
Posts: 7289
Netbeans IDE VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to the IBM/WebSphere forum.
Posts: 3892
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What appears to be happening is that you've declared the security role allowed to access that bean to the WASAdmin J2EE security role. My guess is then that you've not provided a principal having that Role to call your EJB. Rather than send the entire EAR file (which we can't see) can you please cut out only that portion of the EJB-JAR.XML file that relates to the EJB that your test is failing for and post it here? Also, can you tell us how you've invoked this method? Is there a test program you created, and if so, can we see it?
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic