Implementing WS Security selectively on @Endpoint
Hi,
I was playing around with Spring WS and i came across a problem..
I have two methods defined in my @Endpoint. My intent is to apply WS security on one and not on the other.Can this be done?
Reason tells me it can't because i defined the following for spring to detect all @Endpoints..
HTML Code:
<bean class="org.springframework.ws.server.endpoint.mapping.PayloadRootAnnotationMethodEndpointMapping">
<property name="interceptors">
<list>
<ref bean="wsSecurityInterceptor"/>
</list>
</property>
</bean>
So, it would apply the security intereceptor on all the methods.Am i missing something here?
If it can't be done what are the options ?
Any pointers will be very helpful...