If you are starting new threads, you will be responsible for giving them the correct security association. You should perform a jaas login before trying to invoke the ejbs.
Regards, Adrian xxxxxxxxxxxxxxxxxxxxxxxx Adrian Brock Director of Support Back Office JBoss Group, LLC xxxxxxxxxxxxxxxxxxxxxxxx > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Alex Sumner > Sent: 02 July 2003 18:35 > To: [EMAIL PROTECTED] > Subject: [JBoss-user] giving EJB method permissions to a JCA > 1.0 resource? > > > I have JCA 1.0 resource (a workflow engine) that gets called from a > SLSB. In response to these calls it needs to start new threads which > will then make calls back to SLSBs. Security will be handled > using JAAS > and the engine may need to call methods on SLSBs that the original > caller was not allowed to use, or there may be no original caller, > things can happen on timer events for instance. > > Is there a recommended way to give the resource some method > permissions > so that it is allowed to call the necessary methods on the beans? EJB > Invocation in JCA 1.5 is presumably the way to approach this > in future, > but for now I need this to work with JCA 1.0. > > Thanks, > > Alex Sumner > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_06 > 1203_01/01 > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
