Bug 1324143 - [GSS](6.4.z) can not read ObjectMessage's object when security manager is set
Summary: [GSS](6.4.z) can not read ObjectMessage's object when security manager is set
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: JMS
Version: 6.4.6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: CR1
: EAP 6.4.9
Assignee: Tom Ross
QA Contact: Peter Mackay
URL:
Whiteboard:
Depends On:
Blocks: eap649-payload 1325387
TreeView+ depends on / blocked
 
Reported: 2016-04-05 15:57 UTC by Tom Ross
Modified: 2019-10-10 11:47 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker HORNETQ-1357 0 Major Resolved can not read ObjectMessage's object when security manager is set 2017-07-12 14:05:06 UTC
Red Hat Knowledge Base (Solution) 2217071 0 None None None 2016-06-28 20:13:12 UTC

Description Tom Ross 2016-04-05 15:57:20 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Tom Ross 2016-04-05 16:01:47 UTC
When the Java Security Manager is enabled, the ObjectMessage getObject() method fails with a Permission check failed for ("java.lang.RuntimePermission" "getClassLoader").
The code in ObjectInputStreamWithClassLoader must be executed in a privileged access block if the security manager is set to have the proper permission to access the class loader.

Comment 4 Peter Mackay 2016-06-29 08:51:49 UTC
Verified with EAP 6.4.9.CP.CR2

Comment 5 Petr Penicka 2017-01-17 12:57:34 UTC
Retroactively bulk-closing issues from released EAP 6.4 cummulative patches.

Comment 6 Petr Penicka 2017-01-17 12:58:20 UTC
Retroactively bulk-closing issues from released EAP 6.4 cummulative patches.

Comment 7 Petr Penicka 2017-01-17 12:58:40 UTC
Retroactively bulk-closing issues from released EAP 6.4 cummulative patches.


Note You need to log in before you can comment on or make changes to this bug.