private void doPublish(String url, Object obj) {
Endpoint ep = Endpoint.create(obj);
ep.getProperties().put(SecurityConstants.CALLBACK_HANDLER, new KeystorePasswordCallback());
ep.getProperties().put(SecurityConstants.ENCRYPT_PROPERTIES,
"org/apache/cxf/systest/ws/wssec11/server/restricted/bob.properties");
ep.publish(url);
}
protected void run() {
Bus busLocal = new SpringBusFactory().createBus(
"org/apache/cxf/systest/ws/wssec11/server/server.xml");