
|
If you were logged in you would be able to see more operations.
|
|
|
| Resolution Date: |
10/Jul/05 12:22 PM
|
EJBMethodPermissions.MethodSpec have incorrect serialization method. MethodSpec with parameters methodName=null, methodInterface=null, methodParam=null (that should match any method) deserializes with params methodName=null, methodInterface=null, methodParam="" (that matches any no-arg methos)!
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).
Here is the simple patch:
Index: EJBMethodPermission.java
===================================================================
— EJBMethodPermission.java (revision 179589)
+++ EJBMethodPermission.java (working copy)
@@ -250,7 +250,7 @@
if (methodParams == null) {
if (methodInterface == null) {
if (methodName == null) {
- actions = ",,";
+ actions = "";
} else {
actions = methodName;
|
|
Description
|
EJBMethodPermissions.MethodSpec have incorrect serialization method. MethodSpec with parameters methodName=null, methodInterface=null, methodParam=null (that should match any method) deserializes with params methodName=null, methodInterface=null, methodParam="" (that matches any no-arg methos)!
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).
Here is the simple patch:
Index: EJBMethodPermission.java
===================================================================
— EJBMethodPermission.java (revision 179589)
+++ EJBMethodPermission.java (working copy)
@@ -250,7 +250,7 @@
if (methodParams == null) {
if (methodInterface == null) {
if (methodName == null) {
- actions = ",,";
+ actions = "";
} else {
actions = methodName; |
Show » |
made changes - 04/Jun/05 12:25 AM
| Field |
Original Value |
New Value |
|
Description
|
EJBMethodPermissions.MethodSpec have incorrect serialization method. MethodSpec with parameters methodName=null, methodInterface=null, methodParam=null (that should match any method) deserializes with params methodName=null, methodInterface=null, methodParam="" (that matches any no-arg methos)!
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).
Here is the simple patch:
Index: EJBMethodPermission.java
===================================================================
--- EJBMethodPermission.java (revision 179589)
+++ EJBMethodPermission.java (working copy)
@@ -250,7 +250,7 @@
if (methodParams == null) {
if (methodInterface == null) {
if (methodName == null) {
- actions = ",,";
+ actions = "";
} else {
actions = methodName;
|
EJBMethodPermissions.MethodSpec have incorrect serialization method. MethodSpec with parameters methodName=null, methodInterface=null, methodParam=null (that should match any method) deserializes with params methodName=null, methodInterface=null, methodParam="" (that matches any no-arg methos)!
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).
Here is the simple patch:
Index: EJBMethodPermission.java
===================================================================
--- EJBMethodPermission.java (revision 179589)
+++ EJBMethodPermission.java (working copy)
@@ -250,7 +250,7 @@
if (methodParams == null) {
if (methodInterface == null) {
if (methodName == null) {
- actions = ",,";
+ actions = "";
} else {
actions = methodName;
|
|
Affects Version/s
|
1.0-M4
[ 10970
]
|
|
|
Assignee
|
|
Jeff Genender
[ jgenender
]
|
made changes - 10/Jul/05 12:22 PM
|
Assignee
|
Jeff Genender
[ jgenender
]
|
David Jencks
[ djencks
]
|
|
Status
|
Open
[ 1
]
|
Closed
[ 6
]
|
|
Fix Version/s
|
|
1.0-M4
[ 10970
]
|
|
Resolution
|
|
Fixed
[ 1
]
|
made changes - 04/Aug/06 10:29 PM
|
Workflow
|
jira
[ 43116
]
|
RTC Workflow
[ 12378822
]
|
made changes - 07/Aug/06 03:05 PM
|
Workflow
|
RTC Workflow
[ 12378822
]
|
jira
[ 12380593
]
|
|