History | Log In     View a printable version of the current page. Get help!  
Issue Details (XML | Word)

Key: JBREM-811
Type: Bug Bug
Status: Closed Closed
Resolution: Done
Priority: Blocker Blocker
Assignee: Ron Sigal
Reporter: Anil Saldhana
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
JBoss Remoting

Privileged Block to create Class Loader

Created: 27/Sep/07 11:31 AM   Updated: 11/Oct/07 01:26 AM
Component/s: security
Affects Version/s: 2.2.2.GA , 2.4.0.Beta1 (Pinto)
Fix Version/s: 2.2.2.GA_CP01 , 2.2.2.SP2 , 2.4.0.Beta1 (Pinto)
Security Level: Public (Everyone can see)

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
File Attachments: 1. Text File diff.patch (2 kb)


Complexity: Medium


 Description  « Hide
Please add a Privileged Block to create the class loader.

===================================
Caused by: java.security.AccessControlException: access denied (java.lang.RuntimePermission createClassLoader)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
at java.security.AccessController.checkPermission(AccessController.java:427)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
at java.lang.SecurityManager.checkCreateClassLoader(SecurityManager.java:594)
at java.lang.ClassLoader.<init>(ClassLoader.java:201)
at org.jboss.remoting.loading.ClassByteClassLoader.<init>(ClassByteClassLoader.java:62)
at org.jboss.remoting.AbstractInvoker.<init>(AbstractInvoker.java:76)
at org.jboss.remoting.transport.local.LocalClientInvoker.<init>(LocalClientInvoker.java:71)
at org.jboss.remoting.InvokerRegistry.createClientInvoker(InvokerRegistry.java:304)
at org.jboss.remoting.Client.connect(Client.java:459)
====================================

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order:
Clebert Suconic [27/Sep/07 11:32 AM]
This is a blocker for the EAP 4.3

Clebert Suconic [27/Sep/07 04:07 PM]
Not a blocker any more.. we added SecurityAction blocks on Messaging...

Clebert Suconic [01/Oct/07 06:44 PM]
Attaching a patch

Clebert Suconic [01/Oct/07 07:02 PM]
I'm changing this back to blocker, but the fix is pretty simple.

Ron Sigal [03/Oct/07 07:29 PM]
This fix should be available for EAP 4.2.0.GA_CP02, AS 4.2.3 (?) and AS 5.0.0.Beta3.

Ron Sigal [09/Oct/07 06:38 PM]
Fix applied to branch remoting_2_2_0_GA for release 2.2.2.SP2.

Ron Sigal [11/Oct/07 12:46 AM]
Fix applied to branch remoting_2_x for release 2.4.0.Beta1.

Ron Sigal [11/Oct/07 01:25 AM]
Fix applied to branch remoting_2_2_2_GA_CP for release 2.2.2.GA_CP01.

Ron Sigal [11/Oct/07 01:26 AM]
Fix has now been applied to all relevant branches.