geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan S. Dubrov" <WF...@yandex.ru>
Subject Patch for EJBMethodPermissions - EJB with all methods unchecked
Date Thu, 02 Jun 2005 12:53:51 GMT
Hello,

Attached is the patch fixing very nasty error regarding the EJBMethodPermissions. Without
this patch MethodSpec with parameters methodName=null, methodInterface=null, methodParam=null
deserializes with params methodName=null, methodInterface=null, methodParam="" (note the methodParams)!
As a result, EJB beans with all methods <unchecked/> do not work - AccessControlException
is thrown (since methodParam="" means no-arg methods, whille methodParam=null means any methods).

Ivan Dubrov.

Mime
View raw message