On Tue, Aug 21, 2012 at 03:58:46PM -0400, Daniel Kulp wrote:
> This is a feature I added to the CXF Jetty transport (2.6.x) to benefit the 
> Talend ESB users around configuring the Jetty stuff. (there is a similar 
> thing for the http-conduits BTW).    It's not really looking for files.  It's 
> asking the config:admin service for stuff for the "org.apache.cxf.http.jetty" 
> service.  It's a factory based service to the file based admin stuff has the 
> filename of "org.apache.cxf.http.jetty-SOMETHING.cfg"  where SOMETHING really 
> could be anything.   I like to use either the port name (in this case) or the 
> host name (like localhost) for the conduit cases.   If you use the 
> config:admin commands from the Karaf command line, it would name it something 
> completely different.    In any case, the config:admin service will hand us a 
> Properties object of the properties in that file.   We then loop through the 
> properties and set the various config items.   You can look at the code at:
> 
> http://svn.apache.org/repos/asf/cxf/trunk/rt/transports/http-jetty/src/main/java/org/apache/cxf/transport/http_jetty/osgi/HTTPJettyTransportActivator.java
> 
> if you want.    You should be able to set the same things via normal 
> config:admin commands as well.
> 
>From looking at that there doesn't seem to be any way to set up Jetty handlers 
>in an external file.
Is that true or have I missed something?

What I'd like to be able to do is set up the security configuration for a port 
in a single place.

Thanks

Jim

Reply via email to