I ended up writing some code to programmatically build the http jetty
engines and register them with the jetty engine factory. I made quite a bit
of use of the httpj jaxb types for building the tls params works very nicely
On Apr 13, 2012 3:21 PM, "Jason Pell" <[email protected]> wrote:

> Based on properties I want to optionally configure trust store (so
> optional mutual ssl) and also whether to run the server with ssl or not.
>
> so I would have properties in config file loaded by an spring property
> configurator:
>
> server.protocol=[HTTPS | HTTP]
> server.mutualssl=[true | false ]
>
> And then configure the jetty engine factory appropriately
>
> I dont want to touch the spring context
>
> I am guessing that I might need to create a custom jetty engine factory
> factory rather than use the httpj namespace
>
> Are there any samples of doing this?
>

Reply via email to