Author: asoldano
Date: 2014-10-30 11:15:39 -0400 (Thu, 30 Oct 2014)
New Revision: 19040
Modified:
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/JBossWSInvoker.java
Log:
[JBWS-3843] Adding comment explaining the workaround; proper fix will come in PicketBox
Modified:
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/JBossWSInvoker.java
===================================================================
---
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/JBossWSInvoker.java 2014-10-30
11:39:52 UTC (rev 19039)
+++
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/JBossWSInvoker.java 2014-10-30
15:15:39 UTC (rev 19040)
@@ -133,6 +133,8 @@
targetBean = this.getServiceObject(exchange);
}
+ //[JBWS-3843] workaround: set the CallbackHandler threadlocal again; as a matter of
fact, if that's in the Exchange,
+ //DIGEST auth is being used and that will cause the EJB layer to re-do
authentication because of the bug
CallbackHandler cbHandler = exchange.getInMessage().get(CallbackHandler.class);
Object obj = null;
try