Author: pskopek(a)redhat.com
Date: 2012-02-24 08:06:07 -0500 (Fri, 24 Feb 2012)
New Revision: 1437
Modified:
federation/trunk/picketlink-webapps/as7/picketlink-sts/src/main/java/org/picketlink/identity/federation/app/sts/PicketLinkSTService.java
Log:
Reorganized PicketLinkSTSService to fix problems with WebServiceContext injection on AS7.
Modified:
federation/trunk/picketlink-webapps/as7/picketlink-sts/src/main/java/org/picketlink/identity/federation/app/sts/PicketLinkSTService.java
===================================================================
---
federation/trunk/picketlink-webapps/as7/picketlink-sts/src/main/java/org/picketlink/identity/federation/app/sts/PicketLinkSTService.java 2012-02-23
19:05:02 UTC (rev 1436)
+++
federation/trunk/picketlink-webapps/as7/picketlink-sts/src/main/java/org/picketlink/identity/federation/app/sts/PicketLinkSTService.java 2012-02-24
13:06:07 UTC (rev 1437)
@@ -24,6 +24,7 @@
import javax.xml.ws.WebServiceContext;
import javax.xml.ws.WebServiceProvider;
+import org.apache.log4j.Logger;
import org.picketlink.identity.federation.core.wstrust.PicketLinkSTS;
/**
@@ -38,8 +39,12 @@
@ServiceMode(value = Service.Mode.MESSAGE)
public class PicketLinkSTService extends PicketLinkSTS
{
-
+ private static Logger log = Logger.getLogger(PicketLinkSTService.class);
+
@Resource
- protected WebServiceContext context;
+ public void setWSC(WebServiceContext wctx) {
+ log.debug("Setting WebServiceContext = " + wctx);
+ this.context = wctx;
+ }
}
\ No newline at end of file
Show replies by date