Your other option is to use the ServiceBean stuff instead and set the
inHandlers property there. That is probably my preferred method, but I
think its just a matter of preference :-)
- Dan
Gary Moh wrote:
is that a preferred method, and that DefaultXFire will pick it up
automatically?
i injected the "xfire" bean into my handler, added the following code:
xfire.getInHandlers().add(this);
and it worked.
gary
-----Original Message-----
From: Karthikeyan M [mailto:[EMAIL PROTECTED]
Sent: Friday, March 24, 2006 15:49
To: [email protected]
Subject: Re: [xfire-user] adding an authentication handler
If you are using spring to configure XFire, you need something similar
to:
<bean class="org.codehaus.xfire.spring.config.XFireBean">
<property name="inHandlers">
<list>
<ref bean="your-authentication-handler-bean-id" />
</list>
</property>
</bean>
This will make every request will pass through your handler.
-karthik
Gary Moh wrote:
i wrote an implementation of the AbstractHandler to authenticate the
request.
now, if my services are exposed via Jsr181HandlerMapping, how would i
wire the handler so that it gets invoked when a request comes in?
gary
--
Dan Diephouse
(616) 971-2053
Envoi Solutions LLC
http://netzooid.com