This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-06-15
Channels
- # aws-lambda (6)
- # beginners (8)
- # cider (12)
- # cljs-dev (12)
- # cljsrn (9)
- # clojars (2)
- # clojure (161)
- # clojure-berlin (9)
- # clojure-italy (10)
- # clojure-russia (18)
- # clojure-spec (20)
- # clojure-uk (18)
- # clojurescript (37)
- # cursive (13)
- # data-science (1)
- # datomic (23)
- # flambo (2)
- # hoplon (22)
- # immutant (11)
- # jobs (1)
- # klipse (11)
- # leiningen (5)
- # liberator (7)
- # luminus (5)
- # lumo (3)
- # off-topic (28)
- # om (8)
- # onyx (15)
- # parinfer (111)
- # pedestal (21)
- # re-frame (6)
- # reagent (38)
- # rum (4)
- # spacemacs (2)
- # specter (34)
- # unrepl (122)
- # untangled (3)
- # vim (1)
- # yada (8)
I’m looking at the gzip sample for jetty and wondering if there are similar examples for immutant?
@ddeaguiar hmm would it be a bad idea to handle the codec in an interceptor as opposed to the servlet container in the jetty example?
I can’t think of why that would be a bad idea. I think the idea is to leverage servlet filters when available
But it looks like Undertow has a Gzip handler. not sure how that would be wired in but I bet it’s a variation of what’s done for jetty
I’m just not familiar with the container model, so I was wondering if there would be downsides to doing the work “in” the handler rather than using the container, esp. wrt threading
Has anyone hooked pedestal to Office365 for authentication? Or know any good resources to start looking at?
@shaun-mahood no experience with Office365 but here are the auth/authz libs I recommend looking into https://github.com/propan/geheimtur and https://github.com/funcool/buddy
here’s a demo of geheimtur: https://github.com/propan/geheimtur-demo
and here’s a PR that’s in review which demonstrates Pedestal + Buddy integration: https://github.com/pedestal/pedestal/pull/503
@ddeaguiar: great, thanks - I've tried buddy in the past but I don't think I'm smart enough, great to know geheintur is a valid option - I found a half-dozen libraries that look like they are no longer maintained and really don't like picking poorly for security libraries :)
@shaun-mahood I’ve used both and I currently prefer Buddy because it’s quite flexible
@ddeaguiar: Well, I think that PR will help a lot, so thanks for that! For whatever reason securing web apps is one of those things that I always have trouble with. I've ended up leaving a bunch of stuff in older systems when I really want it in Clojure.