<method-permission >
<description><![CDATA[description not supported yet by ejbdoclet]]></description>
<role-name>read</role-name>
<method >
<ejb-name>NoteType</ejb-name>
<method-name>findByName</method-name>
<method-params>
<method-param>java.lang.String</method-param>
</method-params>
</method>
</method-permission>
This method is marked as needing the "read" role-name to invoke it. The trouble is, the finder methods all seem to take the *default* permissions for the bean they appear in (i.e., the permissions given in a block containing the <method-name>*</method-name> element), rather than any method-specific ones which may be specified. As long as the user has roles corresponding to the bean-default permissions, the finders execute properly. I don't have this problem with other business methods, even though they appear in ejb-jar.xml with exactly the same syntax.
Has anyone else seen this behavior? Am I doing something wrong? Any ideas what might be happening?
Beau Cronin
------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
