Bug 1320811 - [GSS](6.4.z) MBeanServer permissions behave differently if java security manager is enabled
Summary: [GSS](6.4.z) MBeanServer permissions behave differently if java security mana...
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Security, jbossas, JMX
Version: 6.4.6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Vlado Pakan
QA Contact: Josef Cacek
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-24 03:36 UTC by Lyle Wang
Modified: 2019-11-14 07:39 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-12 08:56:34 UTC
Type: Bug


Attachments (Terms of Use)
reproducer project (181.75 KB, application/x-gzip)
2016-03-24 03:36 UTC, Lyle Wang
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 2221751 0 None None None 2019-10-24 03:18:13 UTC

Description Lyle Wang 2016-03-24 03:36:10 UTC
Created attachment 1139829 [details]
reproducer project

Description of problem:

Getting "javax.management.JMRuntimeException: JBAS011360: Unauthorized access" when invoking MBeanServer operations.  This only happens if the java security manager is enabled.  



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


How reproducible:
Always


Steps to Reproduce:
See "README.txt" in reproducer



Actual results:
Caused by: javax.management.JMRuntimeException: JBAS011360: Unauthorized access
        at org.jboss.as.jmx.PluggableMBeanServerImpl.authorizeSensitiveOperation(PluggableMBeanServerImpl.java:1177)
        at org.jboss.as.jmx.PluggableMBeanServerImpl.registerMBean(PluggableMBeanServerImpl.java:893)



Expected results:
no exception :)

Additional info:


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