Hi,

I try to export a service in my karaf to be able to process SOAP messages sent 
from remote client but I am facing problems to secure it. The documentation for 
Aries RSA about the TopologyManager notes that ExportPolicy implementations can 
be used to add authentication but I am missing further details.


I tried to achieve it by adding an interceptor in my ExportPolicy but that 
seems not to help:


props.put("service.exported.configs", "org.apache.cxf.ws");
props.put("org.apache.cxf.ws.address", "http://192.168.1.100:9000/sync";);
props.put("org.apache.cxf.ws.in.interceptors", "com.acme.MyInterceptor");

com.acme.Myinterceptor extends 
org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor

I also tried to provide the Interceptor classname as List<String> or String[] 
but that didn't work either, the interceptor never get's invoked when sending 
messages.

So what I am doing wrong or is there any other/better way to secure a service 
provided by Aries RSA?

Thanks,

Christian

Reply via email to