Hiya,
Thanks for reporting this. I've fixed this in SVN now. You can either
compile from SVN or I can ping you once a new snapshot is uploaded (probably
monday).

Cheers,
- Dan

On 7/21/07, Dale Peakall <[EMAIL PROTECTED]> wrote:

No, this won't work.  I posted an e-mail on the dev list about this
yesterday.  The problem is the WSS4JInInterceptor doesn't accept a
Map<String, Object> only a Map<String, String> so there is no way to ref
an instantiated object.

Julio Arias wrote:
> Hello -
>
> You could use something like this, but there is a bug in the
> WSS4JInInterceptor https://issues.apache.org/jira/browse/CXF-819 that
> needs to be address beffore you can use a password callback by reference
>
> <jaxws:endpoint id="metadataService" address="/MetadataService"
> implementor="#metadataServiceImpl">
>         <jaxws:inInterceptors>
>             <bean
> class="org.apache.cxf.binding.soap.saaj.SAAJInInterceptor"/>
>             <bean
> class="org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor">
>                 <property name="properties">
>                     <map>
>                         <entry key="action" value="UsernameToken"/>
>                         <entry key="passwordType" value="PasswordText"/>
>                         <entry key="passwordCallbackRef"
> value-ref="authenticationCallbackHandler"/>
>                     </map>
>                 </property>
>             </bean>
>         </jaxws:inInterceptors>
>     </jaxws:endpoint>
>
> On Jul 20, 2007, at 2:32 PM, gdprao wrote:
>
>>
>> I have used spring and Xfire combination to configure WSS4J for user
>> authentication with WSS4JInHandler.  I would like to know whether it is
>> supported in CXF.  Appreciate if someone could help me out on this.  My
>> current configuration is as follows:
>>
>> <property name="inHandlers">
>>             <list>
>>                 <bean
>> class="org.codehaus.xfire.util.dom.DOMInHandler" />
>>                 <bean
>>
>> class="org.codehaus.xfire.security.wss4j.WSS4JInHandler">
>>                     <property name="properties">
>>                         <map>
>>                             <entry key="passwordCallbackRef">
>>                                 <bean
>>
>> class="com.mydomain.security.PasswordHandler">
>>                                 </bean>
>>                             </entry>
>>                             <entry key="action" value="UsernameToken"
/>
>>                         </map>
>>                     </property>
>>
>>                 </bean>
>>                 <bean
>>
>> class="com.mydomain.security.ValidateUserTokenHandler" />
>>             </list>
>> </property>
>> --
>> View this message in context:
>>
http://www.nabble.com/WSS4J-implementation-in-CXF-tf4119426.html#a11715464
>>
>> Sent from the cxf-user mailing list archive at Nabble.com.
>>
>
>
>
>
> Julio Arias
> Java Developer
> Roundbox Global : enterprise : technology : genius
> ---------------------------------------------------------------------
> Avenida 11 y Calle 7-9, Barrio Amón, San Jose, Costa Rica
> tel: 404.567.5000 ext. 2001 | cell: 11.506.849.5981
> email: [EMAIL PROTECTED] | www.rbxglobal.com
> ---------------------------------------------------------------------
>
>




--
Dan Diephouse
Envoi Solutions
http://envoisolutions.com | http://netzooid.com/blog

Reply via email to