Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 829608 Details for
Bug 1034700
[CCC] (6.3) whoami operation doesn't work with security manager enabled
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
preliminary patch
rbac-security-manager.patch (text/plain), 1.33 KB, created by
Ladislav Thon
on 2013-11-27 08:16:13 UTC
(
hide
)
Description:
preliminary patch
Filename:
MIME Type:
Creator:
Ladislav Thon
Created:
2013-11-27 08:16:13 UTC
Size:
1.33 KB
patch
obsolete
>diff --git a/controller/src/main/java/org/jboss/as/controller/SecurityActions.java b/controller/src/main/java/org/jboss/as/controller/SecurityActions.java >index 9d3683a..b84dc79 100644 >--- a/controller/src/main/java/org/jboss/as/controller/SecurityActions.java >+++ b/controller/src/main/java/org/jboss/as/controller/SecurityActions.java >@@ -207,7 +207,7 @@ class SecurityActions { > public Caller run() { > return NON_PRIVILEGED.getCaller(currentCaller); > } >- }); >+ }, AccessController.getContext()); > } > }; > } >diff --git a/jmx/src/main/java/org/jboss/as/jmx/PluggableMBeanServerImpl.java b/jmx/src/main/java/org/jboss/as/jmx/PluggableMBeanServerImpl.java >index a115101..61c4176 100644 >--- a/jmx/src/main/java/org/jboss/as/jmx/PluggableMBeanServerImpl.java >+++ b/jmx/src/main/java/org/jboss/as/jmx/PluggableMBeanServerImpl.java >@@ -1185,7 +1185,7 @@ class PluggableMBeanServerImpl implements PluggableMBeanServer { > > private Caller getCaller() { > if (System.getSecurityManager() != null) { >- return AccessController.doPrivileged(GET_CALLER_ACTION); >+ return AccessController.doPrivileged(GET_CALLER_ACTION, AccessController.getContext()); > } else { > return GET_CALLER_ACTION.run(); > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1034700
: 829608