waffle icon indicating copy to clipboard operation
waffle copied to clipboard

Integrated authentication with Javalin (embedded jetty)

Open Orfeous opened this issue 5 years ago • 3 comments

Hi,

I'm working on an internal web application for my company. I use Javalin which relies on an embedded Jetty web server.

Javalin provides access to the jetty configuration but i still don't get it how i can make this work. I'd like to provide SSO for my users.

To make this even more challenging the service will be executed in a name of a gmsa.

Any advice, pointer would be helpful. Thank you in advance.

Orfeous avatar Aug 21 '19 10:08 Orfeous

Hi, have you tried to look at the 'jetty' ingregration code in waffle? It's likely that would work given the quick read I did with javalin. Since it's just a lightwate framework on top of jetty, I presume this would work fine.

hazendaz avatar Sep 18 '19 00:09 hazendaz

Look in source/jna package for all the various integrations including jetty. Any additional support you can provide via a pull request will be welcome as jetty support from what I last recall here was limited in direct integration. In either case, waffle-jna should work pretty much out of the box with any setup.

hazendaz avatar Sep 18 '19 00:09 hazendaz

Awesome, thanks for the pointers.

I try to play with it a little more and in case i make it happen i'll post an update here how it went.

/Gabor

Orfeous avatar Sep 18 '19 10:09 Orfeous