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