[JBoss JIRA] (WFLY-127) EJB invocations are not in an isolated access control context
by David Lloyd (JIRA)
[ https://issues.jboss.org/browse/WFLY-127?page=com.atlassian.jira.plugin.s... ]
David Lloyd reassigned WFLY-127:
--------------------------------
Assignee: David Lloyd (was: Ondrej Zizka)
> EJB invocations are not in an isolated access control context
> -------------------------------------------------------------
>
> Key: WFLY-127
> URL: https://issues.jboss.org/browse/WFLY-127
> Project: WildFly
> Issue Type: Bug
> Components: EJB
> Reporter: David Lloyd
> Assignee: David Lloyd
> Fix For: 8.0.0.Alpha1
>
>
> Not only do we get exceptions like this beauty:
> {noformat}
> [31m19:34:19,745 ERROR [org.hornetq.ra] (Thread-1) HQ154005: Failed to deliver message: javax.ejb.EJBTransactionRolledbackException: java.lang.RuntimeException: java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "accessDeclaredMembers")
> at org.jboss.as.ejb3.tx.CMTTxInterceptor.handleInCallerTx(CMTTxInterceptor.java:138) [jboss-as-ejb3-8.0.0.Alpha1-SNAPSHOT.jar:8.0.0.Alpha1-SNAPSHOT]
> at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInCallerTx(CMTTxInterceptor.java:228) [jboss-as-ejb3-8.0.0.Alpha1-SNAPSHOT.jar:8.0.0.Alpha1-SNAPSHOT]
> at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:317) [jboss-as-ejb3-8.0.0.Alpha1-SNAPSHOT.jar:8.0.0.Alpha1-SNAPSHOT]
> at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:214) [jboss-as-ejb3-8.0.0.Alpha1-SNAPSHOT.jar:8.0.0.Alpha1-SNAPSHOT]
> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41) [jboss-as-ejb3-8.0.0.Alpha1-SNAPSHOT.jar:8.0.0.Alpha1-SNAPSHOT]
> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64) [jboss-as-ejb3-8.0.0.Alpha1-SNAPSHOT.jar:8.0.0.Alpha1-SNAPSHOT]
> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59) [jboss-as-ejb3-8.0.0.Alpha1-SNAPSHOT.jar:8.0.0.Alpha1-SNAPSHOT]
> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50) [jboss-as-ee-8.0.0.Alpha1-SNAPSHOT.jar:8.0.0.Alpha1-SNAPSHOT]
> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:65) [jboss-as-ejb3-8.0.0.Alpha1-SNAPSHOT.jar:8.0.0.Alpha1-SNAPSHOT]
> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.as.ejb3.component.messagedriven.MessageDrivenComponentDescription$5$1.processInvocation(MessageDrivenComponentDescription.java:204) [jboss-as-ejb3-8.0.0.Alpha1-SNAPSHOT.jar:8.0.0.Alpha1-SNAPSHOT]
> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45) [jboss-as-ee-8.0.0.Alpha1-SNAPSHOT.jar:8.0.0.Alpha1-SNAPSHOT]
> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:165) [jboss-as-ee-8.0.0.Alpha1-SNAPSHOT.jar:8.0.0.Alpha1-SNAPSHOT]
> at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:182) [jboss-as-ee-8.0.0.Alpha1-SNAPSHOT.jar:8.0.0.Alpha1-SNAPSHOT]
> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:72) [jboss-as-ee-8.0.0.Alpha1-SNAPSHOT.jar:8.0.0.Alpha1-SNAPSHOT]
> at org.jboss.as.test.smoke.jms.auxiliary.QueueMessageDrivenBean$$$view1.onMessage(Unknown Source) [test.jar:]
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_15]
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_15]
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_15]
> at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0_15]
> at org.jboss.as.ejb3.inflow.MessageEndpointInvocationHandler.doInvoke(MessageEndpointInvocationHandler.java:155) [jboss-as-ejb3-8.0.0.Alpha1-SNAPSHOT.jar:8.0.0.Alpha1-SNAPSHOT]
> at org.jboss.as.ejb3.inflow.AbstractInvocationHandler.invoke(AbstractInvocationHandler.java:73) [jboss-as-ejb3-8.0.0.Alpha1-SNAPSHOT.jar:8.0.0.Alpha1-SNAPSHOT]
> at org.jboss.as.test.smoke.jms.auxiliary.QueueMessageDrivenBean$$$endpoint1.onMessage(Unknown Source)
> at org.hornetq.ra.inflow.HornetQMessageHandler.onMessage(HornetQMessageHandler.java:313)
> at org.hornetq.core.client.impl.ClientConsumerImpl.callOnMessage(ClientConsumerImpl.java:1016)
> at org.hornetq.core.client.impl.ClientConsumerImpl.access$400(ClientConsumerImpl.java:52)
> at org.hornetq.core.client.impl.ClientConsumerImpl$Runner.run(ClientConsumerImpl.java:1161)
> at org.hornetq.utils.OrderedExecutorFactory$OrderedExecutor$1.run(OrderedExecutorFactory.java:106)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_15]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_15]
> at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_15]
> Caused by: com.google.common.collect.ComputationException: java.lang.RuntimeException: java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "accessDeclaredMembers")
> at com.google.common.collect.ComputingConcurrentHashMap$ComputingMapAdapter.get(ComputingConcurrentHashMap.java:400)
> at org.jboss.weld.resources.ClassTransformer.loadAnnotation(ClassTransformer.java:196) [weld-core-1.1.10.Final.jar:2012-10-12 10:00]
> at org.jboss.weld.metadata.cache.AnnotationModel.<init>(AnnotationModel.java:53) [weld-core-1.1.10.Final.jar:2012-10-12 10:00]
> at org.jboss.weld.metadata.cache.QualifierModel.<init>(QualifierModel.java:65) [weld-core-1.1.10.Final.jar:2012-10-12 10:00]
> at org.jboss.weld.metadata.cache.MetaAnnotationStore$QualifierFunction.apply(MetaAnnotationStore.java:85) [weld-core-1.1.10.Final.jar:2012-10-12 10:00]
> at org.jboss.weld.metadata.cache.MetaAnnotationStore$QualifierFunction.apply(MetaAnnotationStore.java:78) [weld-core-1.1.10.Final.jar:2012-10-12 10:00]
> at com.google.common.collect.ComputingConcurrentHashMap$ComputingValueReference.compute(ComputingConcurrentHashMap.java:358)
> at com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.compute(ComputingConcurrentHashMap.java:184)
> at com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.getOrCompute(ComputingConcurrentHashMap.java:153)
> at com.google.common.collect.ComputingConcurrentHashMap.getOrCompute(ComputingConcurrentHashMap.java:69)
> at com.google.common.collect.ComputingConcurrentHashMap$ComputingMapAdapter.get(ComputingConcurrentHashMap.java:396)
> at org.jboss.weld.metadata.cache.MetaAnnotationStore.getBindingTypeModel(MetaAnnotationStore.java:166) [weld-core-1.1.10.Final.jar:2012-10-12 10:00]
> at org.jboss.weld.resolution.QualifierInstance.<init>(QualifierInstance.java:54) [weld-core-1.1.10.Final.jar:2012-10-12 10:00]
> at org.jboss.weld.resolution.ResolvableBuilder.addQualifier(ResolvableBuilder.java:140) [weld-core-1.1.10.Final.jar:2012-10-12 10:00]
> at org.jboss.weld.resolution.ResolvableBuilder.addQualifiers(ResolvableBuilder.java:177) [weld-core-1.1.10.Final.jar:2012-10-12 10:00]
> at org.jboss.weld.manager.BeanManagerImpl.getBeans(BeanManagerImpl.java:454) [weld-core-1.1.10.Final.jar:2012-10-12 10:00]
> at org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(EjbRequestScopeActivationInterceptor.java:87) [jboss-as-weld-8.0.0.Alpha1-SNAPSHOT.jar:8.0.0.Alpha1-SNAPSHOT]
> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:53) [jboss-as-ee-8.0.0.Alpha1-SNAPSHOT.jar:8.0.0.Alpha1-SNAPSHOT]
> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.as.ejb3.component.pool.PooledInstanceInterceptor.processInvocation(PooledInstanceInterceptor.java:51) [jboss-as-ejb3-8.0.0.Alpha1-SNAPSHOT.jar:8.0.0.Alpha1-SNAPSHOT]
> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
> at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInCallerTx(CMTTxInterceptor.java:226) [jboss-as-ejb3-8.0.0.Alpha1-SNAPSHOT.jar:8.0.0.Alpha1-SNAPSHOT]
> ... 39 more
> Caused by: java.lang.RuntimeException: java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "accessDeclaredMembers")
> at org.jboss.weld.util.reflection.SecureReflectionAccess.runAndWrap(SecureReflectionAccess.java:65) [weld-core-1.1.10.Final.jar:2012-10-12 10:00]
> at org.jboss.weld.util.reflection.SecureReflections.getDeclaredFields(SecureReflections.java:102) [weld-core-1.1.10.Final.jar:2012-10-12 10:00]
> at org.jboss.weld.introspector.jlr.WeldClassImpl.<init>(WeldClassImpl.java:155) [weld-core-1.1.10.Final.jar:2012-10-12 10:00]
> at org.jboss.weld.introspector.jlr.WeldAnnotationImpl.<init>(WeldAnnotationImpl.java:74) [weld-core-1.1.10.Final.jar:2012-10-12 10:00]
> at org.jboss.weld.introspector.jlr.WeldAnnotationImpl.create(WeldAnnotationImpl.java:63) [weld-core-1.1.10.Final.jar:2012-10-12 10:00]
> at org.jboss.weld.resources.ClassTransformer$TransformClassToWeldAnnotation.apply(ClassTransformer.java:73) [weld-core-1.1.10.Final.jar:2012-10-12 10:00]
> at org.jboss.weld.resources.ClassTransformer$TransformClassToWeldAnnotation.apply(ClassTransformer.java:64) [weld-core-1.1.10.Final.jar:2012-10-12 10:00]
> at com.google.common.collect.ComputingConcurrentHashMap$ComputingValueReference.compute(ComputingConcurrentHashMap.java:358)
> at com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.compute(ComputingConcurrentHashMap.java:184)
> at com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.getOrCompute(ComputingConcurrentHashMap.java:153)
> at com.google.common.collect.ComputingConcurrentHashMap.getOrCompute(ComputingConcurrentHashMap.java:69)
> at com.google.common.collect.ComputingConcurrentHashMap$ComputingMapAdapter.get(ComputingConcurrentHashMap.java:396)
> ... 64 more
> Caused by: java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "accessDeclaredMembers")
> at java.security.AccessControlContext.checkPermission(AccessControlContext.java:366) [rt.jar:1.7.0_15]
> at java.security.AccessController.checkPermission(AccessController.java:560) [rt.jar:1.7.0_15]
> at java.lang.SecurityManager.checkPermission(SecurityManager.java:549) [rt.jar:1.7.0_15]
> at java.lang.SecurityManager.checkMemberAccess(SecurityManager.java:1679) [rt.jar:1.7.0_15]
> at java.lang.Class.checkMemberAccess(Class.java:2176) [rt.jar:1.7.0_15]
> at java.lang.Class.getDeclaredFields(Class.java:1761) [rt.jar:1.7.0_15]
> at org.jboss.weld.util.reflection.SecureReflections$4.work(SecureReflections.java:105) [weld-core-1.1.10.Final.jar:2012-10-12 10:00]
> at org.jboss.weld.util.reflection.SecureReflections$4.work(SecureReflections.java:102) [weld-core-1.1.10.Final.jar:2012-10-12 10:00]
> at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:52) [weld-core-1.1.10.Final.jar:2012-10-12 10:00]
> at org.jboss.weld.util.reflection.SecureReflectionAccess.runAndWrap(SecureReflectionAccess.java:63) [weld-core-1.1.10.Final.jar:2012-10-12 10:00]
> ... 75 more
> {noformat}
> ...but it also means that we have a bunch of doPrivileged in interceptors that we do not need to have.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 8 months
[JBoss JIRA] (WFLY-470) Clean up privileged actions, remove redundant classes
by David Lloyd (JIRA)
[ https://issues.jboss.org/browse/WFLY-470?page=com.atlassian.jira.plugin.s... ]
David Lloyd reassigned WFLY-470:
--------------------------------
Assignee: David Lloyd (was: Ondrej Zizka)
> Clean up privileged actions, remove redundant classes
> -----------------------------------------------------
>
> Key: WFLY-470
> URL: https://issues.jboss.org/browse/WFLY-470
> Project: WildFly
> Issue Type: Task
> Reporter: David Lloyd
> Assignee: David Lloyd
> Fix For: 8.0.0.Alpha1
>
>
> There are quite a lot of redundant usages of privileged actions in the code base. We can flatten them down into a small number of action classes, some of which can in turn be singletons.
> {noformat}
> Method
> doPrivileged(PrivilegedAction<T>)
> Found usages (342 usages found)
> Production (339 usages found)
> jboss-as-appclient (12 usages found)
> ApplicationClientStartService.java (1 usage found)
> (109: 46) AccessController.doPrivileged(new SetSelectorAction(contextSelector));
> DefaultApplicationClientCallbackHandler.java (1 usage found)
> (54: 41) final SecurityContext context = doPrivileged(securityContext());
> SecurityActions.java (6 usages found)
> (49: 33) return AccessController.doPrivileged(new PrivilegedAction<String>() {
> (62: 30) AccessController.doPrivileged(new PrivilegedAction<Void>() {
> (77: 30) AccessController.doPrivileged(new PrivilegedAction<Void>() {
> (92: 37) return AccessController.doPrivileged(new PrivilegedAction<Properties>() {
> (104: 37) return AccessController.doPrivileged(new PrivilegedAction<Map<String, String>>() {
> (116: 30) AccessController.doPrivileged(new PrivilegedAction<Void>() {
> SecurityActions.java (2 usages found)
> (43: 37) return AccessController.doPrivileged(new PrivilegedAction<ClassLoader>() {
> (61: 30) AccessController.doPrivileged(new PrivilegedAction<Object>() {
> SecurityActions.java (2 usages found)
> (43: 37) return AccessController.doPrivileged(new PrivilegedAction<ClassLoader>() {
> (61: 30) AccessController.doPrivileged(new PrivilegedAction<Object>() {
> jboss-as-arquillian-common (1 usage found)
> SecurityActions.java (1 usage found)
> (39: 65) List<Field> declaredAccessableFields = AccessController.doPrivileged(new PrivilegedAction<List<Field>>() {
> jboss-as-arquillian-protocol-jmx (2 usages found)
> ArquillianService.java (2 usages found)
> (306: 33) return AccessController.doPrivileged(GetTcclAction.INSTANCE);
> (311: 26) AccessController.doPrivileged(new PrivilegedAction<Void>() {
> jboss-as-cli (12 usages found)
> SecurityActions.java (3 usages found)
> (76: 55) return (ClassLoader) AccessController.doPrivileged(new PrivilegedAction<Object>() {
> (85: 50) return (String) AccessController.doPrivileged(new PrivilegedAction<Object>() {
> (94: 50) return (String) AccessController.doPrivileged(new PrivilegedAction<Object>() {
> SecurityActions.java (2 usages found)
> (66: 50) return (String) AccessController.doPrivileged(new PrivilegedAction<Object>() {
> (75: 55) return (ClassLoader) AccessController.doPrivileged(new PrivilegedAction<Object>() {
> SecurityActions.java (2 usages found)
> (67: 50) return (String) AccessController.doPrivileged(new PrivilegedAction<Object>() {
> (76: 50) return (String) AccessController.doPrivileged(new PrivilegedAction<Object>() {
> SecurityActions.java (5 usages found)
> (93: 34) AccessController.doPrivileged(new PrivilegedAction<Object>() {
> (103: 50) return (String) AccessController.doPrivileged(new PrivilegedAction<Object>() {
> (112: 34) AccessController.doPrivileged(new PrivilegedAction<Object>() {
> (122: 55) return (ClassLoader) AccessController.doPrivileged(new PrivilegedAction<Object>() {
> (131: 50) return (String) AccessController.doPrivileged(new PrivilegedAction<Object>() {
> jboss-as-clustering-api (2 usages found)
> SimpleMarshalledValue.java (2 usages found)
> (205: 37) return AccessController.doPrivileged(action);
> (220: 30) AccessController.doPrivileged(action);
> jboss-as-clustering-common (1 usage found)
> ServiceContainerHelper.java (1 usage found)
> (77: 33) return AccessController.doPrivileged(action);
> jboss-as-clustering-jgroups (4 usages found)
> JGroupsExtension.java (1 usage found)
> (77: 26) AccessController.doPrivileged(action);
> ProtocolStackAdd.java (2 usages found)
> (504: 51) this.protocolClass = AccessController.doPrivileged(action);
> (520: 37) return AccessController.doPrivileged(action) != null;
> TimerSchedulerAdapter.java (1 usage found)
> (179: 34) AccessController.doPrivileged(action);
> jboss-as-cmp (28 usages found)
> CascadeDeleteStrategy.java (2 usages found)
> (288: 53) return (Principal) AccessController.doPrivileged(getPrincipalAction);
> (292: 41) return AccessController.doPrivileged(getCredentialAction);
> GetTCLAction.java (1 usage found)
> (40: 61) ClassLoader loader = (ClassLoader) AccessController.doPrivileged(ACTION);
> GetTCLAction.java (1 usage found)
> (40: 61) ClassLoader loader = (ClassLoader) AccessController.doPrivileged(ACTION);
> JDBCCMRFieldBridge2.java (3 usages found)
> (1372: 53) return (Principal) AccessController.doPrivileged(getPrincipalAction);
> (1376: 41) return AccessController.doPrivileged(getCredentialAction);
> (1380: 59) return (SecurityContext) AccessController.doPrivileged(new PrivilegedAction() {
> SecurityActions.java (17 usages found)
> (75: 49) return (RunAs) AccessController.doPrivileged(peekAction);
> (79: 34) AccessController.doPrivileged(
> (94: 49) return (RunAs) AccessController.doPrivileged(popAction);
> (151: 55) return (Subject) AccessController.doPrivileged(exAction);
> (265: 55) return (ClassLoader) AccessController.doPrivileged(getTCLPrivilegedAction);
> (269: 55) return (ClassLoader) AccessController.doPrivileged(new PrivilegedAction() {
> (277: 34) AccessController.doPrivileged(
> (288: 34) AccessController.doPrivileged(
> (311: 26) AccessController.doPrivileged(new PrivilegedExceptionAction() {
> (323: 26) AccessController.doPrivileged(new PrivilegedExceptionAction() {
> (335: 26) AccessController.doPrivileged(new PrivilegedAction() {
> (345: 51) return (SecurityContext) AccessController.doPrivileged(new PrivilegedAction() {
> (353: 45) return (Exception) AccessController.doPrivileged(new PrivilegedAction() {
> (364: 26) AccessController.doPrivileged(new PrivilegedAction() {
> (378: 26) AccessController.doPrivileged(new PrivilegedAction() {
> (394: 26) AccessController.doPrivileged(new PrivilegedAction() {
> (406: 26) AccessController.doPrivileged(new PrivilegedAction() {
> TCLAction.java (4 usages found)
> (80: 51) return (ClassLoader) AccessController.doPrivileged(getTCLPrivilegedAction);
> (84: 51) return (ClassLoader) AccessController.doPrivileged(new PrivilegedAction() {
> (92: 30) AccessController.doPrivileged(
> (103: 30) AccessController.doPrivileged(
> jboss-as-connector (12 usages found)
> AbstractDataSourceService.java (4 usages found)
> (192: 26) AccessController.doPrivileged(new SetContextLoaderAction(TransactionIntegration.class.getClassLoader()));
> (196: 30) AccessController.doPrivileged(CLEAR_ACTION);
> (376: 30) AccessController.doPrivileged(new SetContextLoaderAction(TransactionIntegration.class.getClassLoader()));
> (380: 34) AccessController.doPrivileged(CLEAR_ACTION);
> AbstractResourceAdapterDeploymentService.java (2 usages found)
> (399: 30) AccessController.doPrivileged(new SetContextLoaderAction(
> (404: 34) AccessController.doPrivileged(CLEAR_ACTION);
> SecurityActions.java (2 usages found)
> (45: 33) return AccessController.doPrivileged(new PrivilegedAction<ClassLoader>() {
> (58: 26) AccessController.doPrivileged(new PrivilegedAction<Object>() {
> SecurityActions.java (3 usages found)
> (42: 33) return AccessController.doPrivileged(new PrivilegedAction<ClassLoader>() {
> (55: 26) AccessController.doPrivileged(new PrivilegedAction<Object>() {
> (73: 46) return (String) AccessController.doPrivileged(new PrivilegedAction<Object>() {
> WorkManagerService.java (1 usage found)
> (91: 54) String callbackProperties = AccessController.doPrivileged(new PrivilegedAction<String>() {
> jboss-as-controller (17 usages found)
> ConfigurationFile.java (1 usage found)
> (506: 37) return AccessController.doPrivileged(new PrivilegedAction<Integer>() {
> OverallInterfaceCriteria.java (1 usage found)
> (160: 33) return AccessController.doPrivileged(new PrivilegedAction<Boolean>() {
> SecurityActions.java (3 usages found)
> (46: 33) return AccessController.doPrivileged(new PrivilegedAction<String>() {
> (56: 26) AccessController.doPrivileged(new PrivilegedAction<Void>() {
> (65: 26) AccessController.doPrivileged(new PrivilegedAction<Void>() {
> SecurityActions.java (2 usages found)
> (74: 41) return AccessController.doPrivileged(new PrivilegedAction<ClassLoader>() {
> (85: 34) AccessController.doPrivileged(new PrivilegedAction<Void>() {
> SecurityActions.java (2 usages found)
> (75: 41) return AccessController.doPrivileged(new PrivilegedAction<ClassLoader>() {
> (86: 34) AccessController.doPrivileged(new PrivilegedAction<Void>() {
> SecurityActions.java (2 usages found)
> (75: 41) return AccessController.doPrivileged(new PrivilegedAction<ClassLoader>() {
> (86: 34) AccessController.doPrivileged(new PrivilegedAction<Void>() {
> SecurityActions.java (2 usages found)
> (75: 41) return AccessController.doPrivileged(new PrivilegedAction<ClassLoader>() {
> (86: 34) AccessController.doPrivileged(new PrivilegedAction<Void>() {
> SecurityActions.java (4 usages found)
> (41: 33) return AccessController.doPrivileged(new PrivilegedAction<String>() {
> (55: 33) return AccessController.doPrivileged(new PrivilegedAction<String>() {
> (103: 41) return AccessController.doPrivileged(new PrivilegedAction<ClassLoader>() {
> (114: 34) AccessController.doPrivileged(new PrivilegedAction<Void>() {
> jboss-as-controller-client (1 usage found)
> ClientConfigurationImpl.java (1 usage found)
> (165: 37) return AccessController.doPrivileged(new PrivilegedAction<Integer>() {
> jboss-as-domain-http-interface (5 usages found)
> SecurityActions.java (4 usages found)
> (43: 33) return AccessController.doPrivileged(new PrivilegedAction<Boolean>() {
> (51: 33) return AccessController.doPrivileged(new PrivilegedAction<Integer>() {
> (59: 26) AccessController.doPrivileged(new PrivilegedAction<Void>() {
> (69: 26) AccessController.doPrivileged(new PrivilegedAction<Void>() {
> SecurityActions.java (1 usage found)
> (42: 33) return AccessController.doPrivileged(new PrivilegedAction<String>() {
> jboss-as-domain-management (1 usage found)
> SecurityActions.java (1 usage found)
> (45: 33) return AccessController.doPrivileged(new PrivilegedAction<Subject>() {
> jboss-as-ee (6 usages found)
> SecurityActions.java (2 usages found)
> (43: 37) return AccessController.doPrivileged(new PrivilegedAction<ClassLoader>() {
> (61: 30) AccessController.doPrivileged(new PrivilegedAction<Object>() {
> SecurityActions.java (2 usages found)
> (43: 37) return AccessController.doPrivileged(new PrivilegedAction<ClassLoader>() {
> (61: 30) AccessController.doPrivileged(new PrivilegedAction<Object>() {
> SecurityActions.java (2 usages found)
> (43: 37) return AccessController.doPrivileged(new PrivilegedAction<ClassLoader>() {
> (61: 30) AccessController.doPrivileged(new PrivilegedAction<Object>() {
> jboss-as-ejb3 (44 usages found)
> AsyncFutureInterceptorFactory.java (2 usages found)
> (90: 26) AccessController.doPrivileged(new PrivilegedAction<Void>() {
> (100: 26) AccessController.doPrivileged(new PrivilegedAction<Void>() {
> AuthorizationInterceptor.java (1 usage found)
> (192: 37) return AccessController.doPrivileged(action);
> DefaultEjbClientContextService.java (2 usages found)
> (68: 26) AccessController.doPrivileged(new SetSelectorAction(DefaultEJBClientContextSelector.INSTANCE));
> (102: 30) AccessController.doPrivileged(new LockSelectorAction());
> EJBComponent.java (1 usage found)
> (175: 33) return AccessController.doPrivileged(new PrivilegedAction<ServiceContainer>() {
> EjbCorbaServant.java (2 usages found)
> (447: 26) AccessController.doPrivileged(new PrivilegedAction<Void>() {
> (458: 26) AccessController.doPrivileged(new PrivilegedAction<Void>() {
> FilePersistentObjectStore.java (4 usages found)
> (84: 37) return AccessController.doPrivileged(action);
> (105: 40) fis = AccessController.doPrivileged(action);
> (130: 40) fos = AccessController.doPrivileged(action);
> (152: 37) return AccessController.doPrivileged(action);
> LocalEjbReceiver.java (2 usages found)
> (564: 26) AccessController.doPrivileged(new PrivilegedAction<Void>() {
> (575: 26) AccessController.doPrivileged(new PrivilegedAction<Void>() {
> MessageEndpointInvocationHandler.java (3 usages found)
> (90: 13) doPrivileged(contextClassLoader(previousClassLoader));
> (100: 31) previousClassLoader = doPrivileged(contextClassLoader(getApplicationClassLoader()));
> (114: 13) doPrivileged(contextClassLoader(previousClassLoader));
> SecurityActions.java (3 usages found)
> (43: 37) return AccessController.doPrivileged(new PrivilegedAction<ClassLoader>() {
> (61: 30) AccessController.doPrivileged(new PrivilegedAction<Object>() {
> (79: 33) return AccessController.doPrivileged(new PrivilegedAction<String>() {
> SecurityActions.java (3 usages found)
> (46: 37) return AccessController.doPrivileged(new PrivilegedAction<ClassLoader>() {
> (63: 30) AccessController.doPrivileged(new PrivilegedAction<Object>() {
> (81: 33) return AccessController.doPrivileged(new PrivilegedAction<String>() {
> SecurityActions.java (3 usages found)
> (46: 37) return AccessController.doPrivileged(new PrivilegedAction<ClassLoader>() {
> (63: 30) AccessController.doPrivileged(new PrivilegedAction<Object>() {
> (81: 33) return AccessController.doPrivileged(new PrivilegedAction<String>() {
> SecurityActions.java (4 usages found)
> (46: 37) return AccessController.doPrivileged(new PrivilegedAction<ClassLoader>() {
> (65: 30) AccessController.doPrivileged(new PrivilegedAction<Object>() {
> (124: 34) AccessController.doPrivileged(new PrivilegedAction<Void>() {
> (136: 34) AccessController.doPrivileged(CLEAR_ACTION);
> SecurityActions.java (2 usages found)
> (43: 37) return AccessController.doPrivileged(new PrivilegedAction<ClassLoader>() {
> (61: 30) AccessController.doPrivileged(new PrivilegedAction<Object>() {
> SecurityActions.java (2 usages found)
> (43: 37) return AccessController.doPrivileged(new PrivilegedAction<ClassLoader>() {
> (61: 30) AccessController.doPrivileged(new PrivilegedAction<Object>() {
> SecurityActions.java (2 usages found)
> (43: 37) return AccessController.doPrivileged(new PrivilegedAction<ClassLoader>() {
> (61: 30) AccessController.doPrivileged(new PrivilegedAction<Object>() {
> SecurityContextInterceptor.java (2 usages found)
> (74: 9) doPrivileged(pushAction);
> (78: 13) doPrivileged(popAction);
> SerializedStatefulSessionComponent.java (1 usage found)
> (82: 33) return AccessController.doPrivileged(new PrivilegedAction<ServiceContainer>() {
> SingletonComponent.java (1 usage found)
> (203: 33) return AccessController.doPrivileged(new PrivilegedAction<ServiceContainer>() {
> StatefulSerializedProxy.java (1 usage found)
> (64: 33) return AccessController.doPrivileged(new PrivilegedAction<ServiceContainer>() {
> StatefulSessionComponent.java (1 usage found)
> (343: 33) return AccessController.doPrivileged(new PrivilegedAction<ServiceContainer>() {
> StatelessSerializedProxy.java (1 usage found)
> (61: 33) return AccessController.doPrivileged(new PrivilegedAction<ServiceContainer>() {
> TimerHandleImpl.java (1 usage found)
> (143: 33) return AccessController.doPrivileged(new PrivilegedAction<ServiceContainer>() {
> jboss-as-embedded (11 usages found)
> ClassPathEjbJarScanner.java (2 usages found)
> (234: 16) return doPrivileged(new PrivilegedAction<ClassLoader>() {
> (245: 16) return doPrivileged(new PrivilegedAction<String>() {
> JBossStandaloneEJBContainer.java (1 usage found)
> (96: 50) String tmpDir = AccessController.doPrivileged(new PrivilegedAction<String>() {
> JBossStandaloneEJBContainerProvider.java (1 usage found)
> (115: 16) return doPrivileged(new PrivilegedAction<String>() {
> SecurityActions.java (7 usages found)
> (47: 33) return AccessController.doPrivileged(new PrivilegedAction<String>() {
> (60: 30) AccessController.doPrivileged(new PrivilegedAction<Void>() {
> (75: 30) AccessController.doPrivileged(new PrivilegedAction<Void>() {
> (90: 37) return AccessController.doPrivileged(new PrivilegedAction<Properties>() {
> (103: 37) return AccessController.doPrivileged(new PrivilegedAction<Map<String, String>>() {
> (117: 37) return AccessController.doPrivileged(new PrivilegedAction<ClassLoader>() {
> (132: 30) AccessController.doPrivileged(new PrivilegedAction<Void>() {
> jboss-as-host-controller (18 usages found)
> RemoteDomainConnectionService.java (1 usage found)
> (571: 37) return AccessController.doPrivileged( new PrivilegedAction<Integer>() {
> SecurityActions.java (6 usages found)
> (47: 33) return AccessController.doPrivileged(new PrivilegedAction<String>() {
> (61: 33) return AccessController.doPrivileged(new PrivilegedAction<String>() {
> (74: 30) AccessController.doPrivileged(new PrivilegedAction<Void>() {
> (89: 30) AccessController.doPrivileged(new PrivilegedAction<Void>() {
> (104: 37) return AccessController.doPrivileged(new PrivilegedAction<Properties>() {
> (116: 37) return AccessController.doPrivileged(new PrivilegedAction<Map<String, String>>() {
> SecurityActions.java (3 usages found)
> (75: 41) return AccessController.doPrivileged(new PrivilegedAction<ClassLoader>() {
> (86: 34) AccessController.doPrivileged(new PrivilegedAction<Void>() {
> (101: 33) return AccessController.doPrivileged(new PrivilegedAction<String>() {
> SecurityActions.java (2 usages found)
> (75: 41) return AccessController.doPrivileged(new PrivilegedAction<ClassLoader>() {
> (86: 34) AccessController.doPrivileged(new PrivilegedAction<Void>() {
> SecurityActions.java (6 usages found)
> (47: 33) return AccessController.doPrivileged(new PrivilegedAction<String>() {
> (61: 33) return AccessController.doPrivileged(new PrivilegedAction<String>() {
> (74: 30) AccessController.doPrivileged(new PrivilegedAction<Void>() {
> (89: 30) AccessController.doPrivileged(new PrivilegedAction<Void>() {
> (104: 37) return AccessController.doPrivileged(new PrivilegedAction<Properties>() {
> (116: 37) return AccessController.doPrivileged(new PrivilegedAction<Map<String, String>>() {
> jboss-as-jacorb (7 usages found)
> CorbaORBService.java (1 usage found)
> (267: 33) return AccessController.doPrivileged(new PrivilegedAction<ServiceContainer>() {
> SecurityActions.java (1 usage found)
> (46: 26) AccessController.doPrivileged(new PrivilegedAction<Void>() {
> SecurityActions.java (5 usages found)
> (46: 26) AccessController.doPrivileged(new PrivilegedAction<Void>() {
> (63: 33) return AccessController.doPrivileged(new PrivilegedAction<ClassLoader>() {
> (79: 26) AccessController.doPrivileged(new PrivilegedAction<Void>() {
> (97: 33) return AccessController.doPrivileged(new PrivilegedAction<ClassLoader>() {
> (115: 33) return AccessController.doPrivileged(new PrivilegedAction<Thread>() {
> jboss-as-jaxr (2 usages found)
> SecurityActions.java (2 usages found)
> (43: 33) return AccessController.doPrivileged(new PrivilegedAction<String>() {
> (56: 30) AccessController.doPrivileged(new PrivilegedAction<Void>() {
> jboss-as-jaxrs (2 usages found)
> SecurityActions.java (2 usages found)
> (43: 37) return AccessController.doPrivileged(new PrivilegedAction<ClassLoader>() {
> (61: 30) AccessController.doPrivileged(new PrivilegedAction<Object>() {
> jboss-as-jmx (2 usages found)
> SecurityActions.java (1 usage found)
> (56: 41) return AccessController.doPrivileged(new PrivilegedAction<ClassLoader>() {
> SecurityActions.java (1 usage found)
> (67: 41) return AccessController.doPrivileged(new PrivilegedAction<ClassLoader>() {
> jboss-as-jpa (5 usages found)
> SecurityActions.java (2 usages found)
> (43: 37) return AccessController.doPrivileged(new PrivilegedAction<ClassLoader>() {
> (60: 30) AccessController.doPrivileged(new PrivilegedAction<Object>() {
> SecurityActions.java (2 usages found)
> (43: 37) return AccessController.doPrivileged(new PrivilegedAction<ClassLoader>() {
> (60: 30) AccessController.doPrivileged(new PrivilegedAction<Object>() {
> TransactionScopedEntityManager.java (1 usage found)
> (114: 33) return AccessController.doPrivileged(new PrivilegedAction<ServiceContainer>() {
> jboss-as-jsr77 (2 usages found)
> SecurityActions.java (1 usage found)
> (37: 33) return AccessController.doPrivileged(new PrivilegedAction<String>() {
> SecurityActions.java (1 usage found)
> (37: 33) return AccessController.doPrivileged(new PrivilegedAction<ClassLoader>() {
> jboss-as-logging (5 usages found)
> SecurityActions.java (5 usages found)
> (41: 33) return AccessController.doPrivileged(new PrivilegedAction<String>() {
> (55: 33) return AccessController.doPrivileged(new PrivilegedAction<String>() {
> (119: 41) return AccessController.doPrivileged(new PrivilegedAction<ClassLoader>() {
> (130: 34) AccessController.doPrivileged(new PrivilegedAction<Void>() {
> (140: 41) return AccessController.doPrivileged(new PrivilegedAction<ClassLoader>() {
> jboss-as-messaging (8 usages found)
> HornetQSecurityManagerAS7.java (3 usages found)
> (96: 33) return AccessController.doPrivileged(new PrivilegedAction<SecurityContext>() {
> (114: 26) AccessController.doPrivileged(new PrivilegedAction<Void>() {
> (125: 33) return AccessController.doPrivileged(new PrivilegedAction<SecurityContext>() {
> SecurityActions.java (3 usages found)
> (43: 37) return AccessController.doPrivileged(new PrivilegedAction<ClassLoader>() {
> (61: 30) AccessController.doPrivileged(new PrivilegedAction<Object>() {
> (73: 30) AccessController.doPrivileged(new PrivilegedAction<Object>() {
> SecurityActions.java (2 usages found)
> (43: 37) return AccessController.doPrivileged(new PrivilegedAction<ClassLoader>() {
> (61: 30) AccessController.doPrivileged(new PrivilegedAction<Object>() {
> jboss-as-naming (10 usages found)
> InitialContextFactoryBuilder.java (1 usage found)
> (69: 33) return AccessController.doPrivileged(
> ObjectFactoryBuilder.java (1 usage found)
> (177: 33) return AccessController.doPrivileged(new PrivilegedAction<ServiceContainer>() {
> SecurityActions.java (2 usages found)
> (43: 37) return AccessController.doPrivileged(new PrivilegedAction<ClassLoader>() {
> (61: 30) AccessController.doPrivileged(new PrivilegedAction<Object>() {
> SecurityActions.java (4 usages found)
> (38: 37) return AccessController.doPrivileged(new PrivilegedAction<String>() {
> (50: 30) AccessController.doPrivileged(new PrivilegedAction<Object>() {
> (68: 37) return AccessController.doPrivileged(new PrivilegedAction<ClassLoader>() {
> (86: 30) AccessController.doPrivileged(new PrivilegedAction<Object>() {
> SecurityActions.java (2 usages found)
> (43: 37) return AccessController.doPrivileged(new PrivilegedAction<ClassLoader>() {
> (61: 30) AccessController.doPrivileged(new PrivilegedAction<Object>() {
> jboss-as-network (1 usage found)
> NetworkUtils.java (1 usage found)
> (207: 33) return AccessController.doPrivileged(new PrivilegedAction<Boolean>() {
> jboss-as-osgi-launcher (8 usages found)
> SecurityActions.java (8 usages found)
> (46: 34) AccessController.doPrivileged(new PrivilegedExceptionAction<Void>() {
> (70: 37) return AccessController.doPrivileged(new PrivilegedAction<Map<String, String>>() {
> (83: 30) AccessController.doPrivileged(new PrivilegedAction<Void>() {
> (98: 30) AccessController.doPrivileged(new PrivilegedAction<Void>() {
> (114: 33) return AccessController.doPrivileged(new PrivilegedAction<String>() {
> (136: 37) return AccessController.doPrivileged(GetSystemPropertiesAction.INSTANCE);
> (145: 37) return AccessController.doPrivileged(new PrivilegedAction<ClassLoader>() {
> (160: 30) AccessController.doPrivileged(new PrivilegedAction<Void>() {
> jboss-as-osgi-service (5 usages found)
> SecurityActions.java (3 usages found)
> (43: 33) return AccessController.doPrivileged(new PrivilegedAction<String>() {
> (56: 30) AccessController.doPrivileged(new PrivilegedAction<Void>() {
> (71: 33) return AccessController.doPrivileged(new PrivilegedAction<ClassLoader>() {
> SecurityActions.java (2 usages found)
> (43: 33) return AccessController.doPrivileged(new PrivilegedAction<String>() {
> (56: 30) AccessController.doPrivileged(new PrivilegedAction<Void>() {
> jboss-as-platform-mbean (5 usages found)
> SecurityActions.java (5 usages found)
> (47: 33) return AccessController.doPrivileged(new PrivilegedAction<String>() {
> (60: 30) AccessController.doPrivileged(new PrivilegedAction<Void>() {
> (75: 30) AccessController.doPrivileged(new PrivilegedAction<Void>() {
> (90: 37) return AccessController.doPrivileged(new PrivilegedAction<Properties>() {
> (102: 37) return AccessController.doPrivileged(new PrivilegedAction<Map<String, String>>() {
> jboss-as-pojo (2 usages found)
> SecurityActions.java (2 usages found)
> (47: 37) return AccessController.doPrivileged(new PrivilegedAction<ClassLoader>() {
> (65: 30) AccessController.doPrivileged(new PrivilegedAction<Object>() {
> jboss-as-process-controller (6 usages found)
> SecurityActions.java (6 usages found)
> (47: 33) return AccessController.doPrivileged(new PrivilegedAction<String>() {
> (61: 33) return AccessController.doPrivileged(new PrivilegedAction<String>() {
> (74: 30) AccessController.doPrivileged(new PrivilegedAction<Void>() {
> (89: 30) AccessController.doPrivileged(new PrivilegedAction<Void>() {
> (104: 37) return AccessController.doPrivileged(new PrivilegedAction<Properties>() {
> (116: 37) return AccessController.doPrivileged(new PrivilegedAction<Map<String, String>>() {
> jboss-as-protocol (1 usage found)
> SecurityActions.java (1 usage found)
> (44: 33) return AccessController.doPrivileged(new PrivilegedAction<String>() {
> jboss-as-remoting (2 usages found)
> SecurityActions.java (2 usages found)
> (37: 33) return AccessController.doPrivileged(new PrivilegedAction<String>() {
> (48: 33) return AccessController.doPrivileged(new PrivilegedAction<ClassLoader>() {
> jboss-as-sar (1 usage found)
> SecurityActions.java (1 usage found)
> (67: 41) return AccessController.doPrivileged(new PrivilegedAction<ClassLoader>() {
> jboss-as-security (24 usages found)
> RealmDirectLoginModule.java (1 usage found)
> (245: 33) return AccessController.doPrivileged(new PrivilegedAction<ServiceContainer>() {
> RuntimeVaultReader.java (1 usage found)
> (61: 38) vault = AccessController.doPrivileged(new PrivilegedExceptionAction<SecurityVault>() {
> SecurityActions.java (8 usages found)
> (52: 41) return AccessController.doPrivileged(new PrivilegedExceptionAction<ModuleClassLoader>() {
> (71: 30) AccessController.doPrivileged(new PrivilegedAction<Void>() {
> (84: 37) return AccessController.doPrivileged(new PrivilegedAction<String>() {
> (96: 37) return AccessController.doPrivileged(new PrivilegedAction<ClassLoader>() {
> (109: 41) return AccessController.doPrivileged(new PrivilegedExceptionAction<Class<?>>() {
> (219: 41) return AccessController.doPrivileged(IS_SET_ACTION);
> (223: 41) return AccessController.doPrivileged(GET_CONNECTION_ACTION);
> (227: 34) AccessController.doPrivileged(CLEAR_ACTION);
> SecurityActions.java (3 usages found)
> (43: 37) return AccessController.doPrivileged(new PrivilegedAction<ClassLoader>() {
> (61: 30) AccessController.doPrivileged(new PrivilegedAction<Object>() {
> (73: 30) AccessController.doPrivileged(new PrivilegedAction<Object>() {
> SecurityActions.java (5 usages found)
> (49: 41) return AccessController.doPrivileged(new PrivilegedExceptionAction<ModuleClassLoader>() {
> (66: 37) return AccessController.doPrivileged(new PrivilegedAction<SecurityContext>() {
> (78: 37) return AccessController.doPrivileged(new PrivilegedAction<Principal>() {
> (100: 37) return AccessController.doPrivileged(new PrivilegedAction<Object>() {
> (121: 33) return AccessController.doPrivileged(new PrivilegedAction<ClassLoader>() {
> SecurityActions.java (1 usage found)
> (46: 41) return AccessController.doPrivileged(new PrivilegedExceptionAction<ModuleClassLoader>() {
> SecurityActions.java (1 usage found)
> (70: 41) return AccessController.doPrivileged(GET_CONNECTION_ACTION);
> SimpleSecurityManager.java (4 usages found)
> (109: 49) final SecurityContext securityContext = doPrivileged(securityContext());
> (125: 49) final SecurityContext securityContext = doPrivileged(securityContext());
> (174: 49) final SecurityContext securityContext = doPrivileged(securityContext());
> (235: 49) final SecurityContext securityContext = doPrivileged(securityContext());
> jboss-as-server (15 usages found)
> NetworkInterfaceService.java (1 usage found)
> (176: 33) return AccessController.doPrivileged(new PrivilegedAction<Boolean>() {
> SecurityActions.java (2 usages found)
> (43: 37) return AccessController.doPrivileged(new PrivilegedAction<ClassLoader>() {
> (61: 30) AccessController.doPrivileged(new PrivilegedAction<Object>() {
> SecurityActions.java (7 usages found)
> (48: 33) return AccessController.doPrivileged(new PrivilegedAction<String>() {
> (62: 33) return AccessController.doPrivileged(new PrivilegedAction<String>() {
> (75: 30) AccessController.doPrivileged(new PrivilegedAction<Void>() {
> (90: 30) AccessController.doPrivileged(new PrivilegedAction<Void>() {
> (105: 37) return AccessController.doPrivileged(new PrivilegedAction<Properties>() {
> (117: 37) return AccessController.doPrivileged(new PrivilegedAction<Map<String, String>>() {
> (129: 29) AccessController.doPrivileged(new PrivilegedAction<Void>() {
> SecurityActions.java (1 usage found)
> (36: 33) return AccessController.doPrivileged(new PrivilegedAction<ClassLoader>() {
> SecurityActions.java (4 usages found)
> (35: 33) return AccessController.doPrivileged(new PrivilegedAction<String>() {
> (44: 33) return AccessController.doPrivileged(new PrivilegedAction<String>() {
> (55: 33) return AccessController.doPrivileged(new PrivilegedAction<String>() {
> (66: 33) return AccessController.doPrivileged(new PrivilegedAction<ClassLoader>() {
> jboss-as-testsuite-shared (3 usages found)
> ProcessWrapper.java (1 usage found)
> (118: 62) private final boolean writeOutput = AccessController.doPrivileged(new PrivilegedAction<Boolean>() {
> SecurityActions.java (2 usages found)
> (67: 50) return (String) AccessController.doPrivileged(new PrivilegedAction<Object>() {
> (76: 34) AccessController.doPrivileged(new PrivilegedAction<Object>() {
> jboss-as-version (2 usages found)
> ProductConfig.java (2 usages found)
> (103: 86) return System.getSecurityManager() == null ? action.run() : AccessController.doPrivileged(action);
> (166: 30) AccessController.doPrivileged(action);
> jboss-as-web (16 usages found)
> ClusteredSession.java (1 usage found)
> (745: 62) StandardSessionFacade ssf = AccessController.doPrivileged(new PrivilegedAction<StandardSessionFacade>() {
> DistributableSessionManager.java (1 usage found)
> (361: 44) policyClass = AccessController.doPrivileged(new PrivilegedAction<String>() {
> JBossContextConfig.java (1 usage found)
> (138: 33) return AccessController.doPrivileged(new PrivilegedAction<String>() {
> SecurityActions.java (2 usages found)
> (52: 33) return AccessController.doPrivileged(new PrivilegedExceptionAction<Class<?>>() {
> (68: 33) return AccessController.doPrivileged(new PrivilegedAction<SecurityContext>() {
> SecurityActions.java (8 usages found)
> (51: 33) return AccessController.doPrivileged(new PrivilegedAction<SecurityContext>() {
> (70: 26) AccessController.doPrivileged(new PrivilegedAction<Void>() {
> (86: 33) return AccessController.doPrivileged(new PrivilegedAction<SecurityContext>() {
> (97: 26) AccessController.doPrivileged(new PrivilegedAction<Void>() {
> (111: 26) AccessController.doPrivileged(new PrivilegedAction<Void>() {
> (130: 33) return AccessController.doPrivileged(new PrivilegedAction<RunAs>() {
> (148: 30) AccessController.doPrivileged(new PrivilegedAction<Void>() {
> (167: 37) return AccessController.doPrivileged(new PrivilegedAction<Throwable>() {
> SecurityActions.java (2 usages found)
> (43: 33) return AccessController.doPrivileged(new PrivilegedAction<String>() {
> (56: 30) AccessController.doPrivileged(new PrivilegedAction<Void>() {
> SecurityContextAssociationValve.java (1 usage found)
> (204: 33) return AccessController.doPrivileged(action);
> jboss-as-webservices-server-integration (11 usages found)
> SecurityActions.java (2 usages found)
> (48: 37) return AccessController.doPrivileged(new PrivilegedAction<ClassLoader>() {
> (66: 30) AccessController.doPrivileged(new PrivilegedAction<Object>() {
> SecurityActions.java (2 usages found)
> (48: 37) return AccessController.doPrivileged(new PrivilegedAction<ClassLoader>() {
> (66: 30) AccessController.doPrivileged(new PrivilegedAction<Object>() {
> SecurityActions.java (2 usages found)
> (44: 37) return AccessController.doPrivileged(new PrivilegedAction<ClassLoader>() {
> (61: 30) AccessController.doPrivileged(new PrivilegedAction<Object>() {
> SecurityDomainContextAdaptor.java (3 usages found)
> (72: 26) AccessController.doPrivileged(new PrivilegedAction<Void>() {
> (93: 33) return AccessController.doPrivileged(new PrivilegedAction<SecurityContext>() {
> (112: 26) AccessController.doPrivileged(new PrivilegedAction<Void>() {
> WSDeploymentAspectParser.java (2 usages found)
> (365: 37) return AccessController.doPrivileged(new PrivilegedAction<ClassLoader>() {
> (382: 30) AccessController.doPrivileged(new PrivilegedAction<Object>() {
> jboss-as-webservices-tests-integration (1 usage found)
> RemoteDeployer.java (1 usage found)
> (378: 33) return AccessController.doPrivileged(action);
> jboss-as-weld (15 usages found)
> EjbRequestScopeActivationInterceptor.java (1 usage found)
> (118: 33) return AccessController.doPrivileged(new PrivilegedAction<ServiceContainer>() {
> ModuleGroupSingletonProvider.java (1 usage found)
> (125: 41) return AccessController.doPrivileged(new PrivilegedAction<ClassLoader>() {
> ProxyServicesImpl.java (2 usages found)
> (53: 37) return AccessController.doPrivileged(new PrivilegedAction<ClassLoader>() {
> (94: 48) return (Class<?>) AccessController.doPrivileged(new PrivilegedExceptionAction<Object>() {
> SecurityActions.java (2 usages found)
> (43: 37) return AccessController.doPrivileged(new PrivilegedAction<ClassLoader>() {
> (61: 30) AccessController.doPrivileged(new PrivilegedAction<Object>() {
> SecurityActions.java (2 usages found)
> (43: 37) return AccessController.doPrivileged(new PrivilegedAction<ClassLoader>() {
> (61: 30) AccessController.doPrivileged(new PrivilegedAction<Object>() {
> SecurityActions.java (3 usages found)
> (44: 37) return AccessController.doPrivileged(new PrivilegedAction<ClassLoader>() {
> (62: 30) AccessController.doPrivileged(new PrivilegedAction<Object>() {
> (76: 30) AccessController.doPrivileged(new PrivilegedAction<Object>() {
> SecurityActions.java (2 usages found)
> (43: 37) return AccessController.doPrivileged(new PrivilegedAction<ClassLoader>() {
> (61: 30) AccessController.doPrivileged(new PrivilegedAction<Object>() {
> SessionObjectReferenceImpl.java (1 usage found)
> (117: 33) return AccessController.doPrivileged(new PrivilegedAction<ServiceContainer>() {
> StatefulSessionObjectReferenceImpl.java (1 usage found)
> (141: 33) return AccessController.doPrivileged(new PrivilegedAction<ServiceContainer>() {
> jboss-as-xts (1 usage found)
> SecurityActions.java (1 usage found)
> (45: 33) return AccessController.doPrivileged(new PrivilegedAction<ClassLoader>() {
> Test (3 usages found)
> jboss-as-cli (1 usage found)
> ParameterValueResolutionTestCase.java (1 usage found)
> (143: 30) AccessController.doPrivileged(new PrivilegedAction<Object>() {
> jboss-as-naming (1 usage found)
> SecurityHelper.java (1 usage found)
> (215: 37) return AccessController.doPrivileged(new PrivilegedExceptionAction<T>() {
> jboss-as-security (1 usage found)
> MockRuntimeVaultReader.java (1 usage found)
> (29: 32) vault = AccessController.doPrivileged(new PrivilegedExceptionAction<SecurityVault>() {
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 8 months