Hi,
It's expected behavior, you can't add same interceptor class(with
multiple different instances object) for a certain endpoint.
You need specify multiple action(standard in your term) like
UsernameToken, Encryption, Signature for one WSS4j interceptor.
If different service need different actions set, you just need use
different WSS4j interceptors with different actions set for each
service.
Freeman
On 2011-1-7, at 下午3:31, srinivas thallapalli wrote:
Hi All,
I am trying to use ws-security standards like UsernameToken,
Encryption,
Signature and etc with CXF services.
For that I am constructing WSS4j interceptors one for each standard
and
associating each interceptor separately with each endpoint and the
problem
is the endpoints(server n client) recognizing only the first
associated
interceptor hence only the first added standard only working and rest
interceptors are not effective.
Thanks in advance
--
View this message in context:
http://cxf.547215.n5.nabble.com/Problem-with-WSS4J-and-CXF-tp3331500p3331500.html
Sent from the cxf-user mailing list archive at Nabble.com.
--
Freeman Fang
------------------------
FuseSource: http://fusesource.com
blog: http://freemanfang.blogspot.com
twitter: http://twitter.com/freemanfang
Apache Servicemix:http://servicemix.apache.org
Apache Cxf: http://cxf.apache.org
Apache Karaf: http://karaf.apache.org
Apache Felix: http://felix.apache.org