cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From XiLai Dai <xl...@talend.com>
Subject About interceptor chain in the security fault case
Date Fri, 06 Jan 2012 08:16:49 GMT
Hello,

We have a interceptor which is used to get operation name and something else. It works for
most of use cases but not works with the security fault case.
After some debugging, the order of the interceptors like this: 

org.apache.cxf.ws.policy.PolicyInInterceptor@4db9dc  (message.getExchange().getBindingOperationInfo()
= null)
ourInterceptor@1d00259  (message.getExchange().getBindingOperationInfo() = null)
............
org.apache.cxf.ws.security.wss4j.UsernameTokenInterceptor@1b8935b (message.getExchange().getBindingOperationInfo()
= null)   //Exception if password is wrong and stop iterate over interceptor chain.
............
org.apache.cxf.interceptor.URIMappingInterceptor@14d583a (message.getExchange().getBindingOperationInfo()
ok)

who can give some proposal on how to get the operation name in the security fault case? Thanks!

Regards.
Xilai

Mime
View raw message