users@glassfish.java.net

Re: EJBMethodPermission with custom JACC implementation

From: <glassfish_at_javadesktop.org>
Date: Thu, 22 May 2008 11:01:52 PDT

this is an example of another system app. In this case the app is an ejb system app as apposed to a web system app. AFAIK, the timer app, does not have any role protected methods, so the gnerated policy has unqualified grants of all methods exported by the ejbs of the app.

when you restart the appserver, do the policyconfiguration interfaces of your provider get called when the timer app is loaded? if so, then those calls should give your provider an opportunity to provision itself to handle policy decisions for the timer app. In this case, you don't need a p2r mapping since there are no role protected methods.

If your configuration interface is not being called, then we will have to look into why that is.

Ron
[Message sent by forum member 'monzillo' (monzillo)]

http://forums.java.net/jive/thread.jspa?messageID=276078