Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 57896 invoked from network); 2 Jun 2005 13:29:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 Jun 2005 13:29:00 -0000 Received: (qmail 51383 invoked by uid 500); 2 Jun 2005 13:28:55 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 51291 invoked by uid 500); 2 Jun 2005 13:28:55 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Delivered-To: moderator for dev@geronimo.apache.org Received: (qmail 66608 invoked by uid 99); 2 Jun 2005 12:54:16 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of WFrag@yandex.ru designates 213.180.200.36 as permitted sender) Date: Thu, 2 Jun 2005 16:53:51 +0400 (MSD) From: "Ivan S. Dubrov" Sender: WFrag@yandex.ru Message-Id: <429F015F.000005.31578@soapbox.yandex.ru> MIME-Version: 1.0 X-Mailer: Yamail [ http://yandex.ru ] Errors-To: WFrag@yandex.ru To: dev@geronimo.apache.org Subject: Patch for EJBMethodPermissions - EJB with all methods unchecked Reply-To: WFrag@yandex.ru X-Source-Ip: 80.66.89.164 Content-Type: Multipart/Mixed; boundary="------------Boundary-00=_RTJGK72XFQQMYJ0CCJD0" X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --------------Boundary-00=_RTJGK72XFQQMYJ0CCJD0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit 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 do not work - AccessControlException is thrown (since methodParam="" means no-arg methods, whille methodParam=null means any methods). Ivan Dubrov. --------------Boundary-00=_RTJGK72XFQQMYJ0CCJD0 Content-Disposition: attachment; Filename="patch" Content-Type: application/octet-stream; name="patch" Content-Transfer-Encoding: base64 SW5kZXg6IEVKQk1ldGhvZFBlcm1pc3Npb24uamF2YQ0KPT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQ0KLS0tIEVKQk1ldGhv ZFBlcm1pc3Npb24uamF2YQkocmV2aXNpb24gMTc5NTg5KQ0KKysrIEVKQk1ldGhvZFBlcm1pc3Np b24uamF2YQkod29ya2luZyBjb3B5KQ0KQEAgLTI1MCw3ICsyNTAsNyBAQA0KICAgICAgICAgICAg IGlmIChtZXRob2RQYXJhbXMgPT0gbnVsbCkgewogICAgICAgICAgICAgICAgIGlmIChtZXRob2RJ bnRlcmZhY2UgPT0gbnVsbCkgewogICAgICAgICAgICAgICAgICAgICBpZiAobWV0aG9kTmFtZSA9 PSBudWxsKSB7Ci0gICAgICAgICAgICAgICAgICAgICAgICBhY3Rpb25zID0gIiwsIjsKKyAgICAg ICAgICAgICAgICAgICAgICAgIGFjdGlvbnMgPSAiIjsKICAgICAgICAgICAgICAgICAgICAgfSBl bHNlIHsKIAogICAgICAgICAgICAgICAgICAgICAgICAgYWN0aW9ucyA9IG1ldGhvZE5hbWU7Cg== --------------Boundary-00=_RTJGK72XFQQMYJ0CCJD0--