[SWS-474] Interceptor on endpoint Created: 08/Jan/09 Updated: 27/Jun/12 Resolved: 27/Jun/12
|Project:||Spring Web Services|
|Fix Version/s:||2.0 GA|
|Reporter:||Thomas Champagne||Assignee:||Arjen Poutsma|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
With the current implementation, it's not possible to define an EndpointInterceptor on a particular endpoint. You can only add interceptors on EndpointMapping so in a group of endpoint.
When you use annotations (@Endpoint), you have only one EndpointMapping (AnnotationMethodEndpointMapping) for all endpoints and you can not define an interceptor for one method.
Personally, I would like secured some methods but not all with the XwsSecurityInterceptor. But with the AnnotationMethodEndpointMapping, I can't do that.
A thread in the forum about this problem.
|Comment by omar elmandour [ 04/Feb/11 ]|
It seems already implemented in the class
|Comment by Thomas Champagne [ 26/Jun/12 ]|
I'm agree with ramo roudnamle :-D
You can define with spring-ws 2.0 :
So, this issue can be closed with version 2.0.
|Comment by Arjen Poutsma [ 27/Jun/12 ]|
Resolved as fixed, thanks for pointing this out!