Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

RUNAS delegation

 
serge picard
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
Is there a way to 'programaticaly' delegate a J2EE role. For exemple, I am running under roleA in an EJB and have to access a method of another EJB that requires roleB ? I know it can be acheived with declarative delegation but I am whishing to accomplish it directly in the code. (ps sorry for the poor english... french !!!)
Thanks !
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic