Re: Creating a custom ServerFactory implementation

2017-12-13 Thread Abu
Matt, I'm also working on similar sort of requirement (application and admin to share ports and to secure API with mutual authentication). Appreciate if you could share your final implementation of " SharedPortServerFactory", along with learnings and experience. Thank you. -Abu On Sunday, Sept

Re: Creating a custom ServerFactory implementation

2016-09-18 Thread Matt Wharton
Brilliant, that did the trick! Thanks so much! -Matt On Sunday, September 18, 2016 at 10:29:54 AM UTC-6, Evan Meagher wrote: > > Check out the "Polymorphic configuration" section > > > of Dropwizard's use

Re: Creating a custom ServerFactory implementation

2016-09-18 Thread Evan Meagher
Check out the "Polymorphic configuration" section of Dropwizard's user manual. Dropwizard loads Discoverable subclasses by looking up services registered as resources under META-INF/services/. This is a convol

Creating a custom ServerFactory implementation

2016-09-17 Thread Matt Wharton
Hi all, I'm interested in creating a ServerFactory implementation that's something of a hybrid between SimpleServerFactory and DefaultServerFactory. Specifically, I'd like to be able to run an SSL and a non-SSL port (which DefaultServerFactory allows for) but also have the application and admin