djencks 2005/06/23 02:59:20 Modified: modules/core/src/java/org/openejb/corba CSSBean.java Log:
Put the ClientContext back in the Stub so it is actually accessible from the ClientSecurityInterceptor. I don't know if the code in StubDelegateImpl is actually useful -- need an actual test case Revision Changes Path 1.12 +5 -2 openejb/modules/core/src/java/org/openejb/corba/CSSBean.java Index: CSSBean.java =================================================================== RCS file: /home/projects/openejb/scm/openejb/modules/core/src/java/org/openejb/corba/CSSBean.java,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- CSSBean.java 23 Jun 2005 00:56:42 -0000 1.11 +++ CSSBean.java 23 Jun 2005 06:59:19 -0000 1.12 @@ -187,6 +187,9 @@ } finally { ClientContextManager.setClientContext(oldClientContext); } + if (bean instanceof ClientContextHolder) { + ((ClientContextHolder)bean).setClientContext(context); + } return bean; } catch (UserException ue) {