File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes RUNAS delegation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "RUNAS delegation" Watch "RUNAS delegation" New topic

RUNAS delegation

serge picard

Joined: Mar 19, 2003
Posts: 1
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 !
It is sorta covered in the JavaRanch Style Guide.
subject: RUNAS delegation
jQuery in Action, 3rd edition