Re: WebApp authentication and authorization - up-to-date information?

2020-03-21 Thread Jérémie Grodziski
Regarding the security part I find that delegating authentication and 
authorization to a specialized component is a good approach.
You can use Keycloak  for that matter and I 
published some times ago some details about its integration in the Clojure 
world : https://github.com/jgrodziski/keycloak-clojure/tree/master/sample

Jérémie.

Le samedi 21 mars 2020 22:51:47 UTC+1, Sean Corfield a écrit :
>
> > some form of database interface (definitely need not be ORM; just a 
> demonstrated pattern)
>
> I'm curious as to what you feel is missing beyond clojure.java.jdbc / 
> next.jdbc? SQL is the lingua franca for relational databases and those 
> libraries provide the interface between Clojure data -- hash maps and 
> vectors of hash maps -- and rows/resultsets.
>
> On Sat, Mar 21, 2020 at 2:30 PM z9znz > 
> wrote:
>
>> This is what primarily keeps me from ever building a first (web) app with 
>> Clojure.  
>>
>> Even the Web Development with Clojure, 3rd edition that I bought (beta) 
>> still does not have the section on this topic filled in. 
>>
>> I'm convinced that part of what prevents Clojure from being adopted more 
>> is the lack of a killer framework.  When I ask about this, the usual answer 
>> is that Clojure people don't like to be constrained and are happier to 
>> choose their own tools and libraries.  This is great if you already know 
>> what you're doing, but it's a vertical wall for newbies.
>>
>> I admit I have not yet looked at Coast on Clojure - and perhaps it has 
>> the potential to be that entry point for newbies.  
>>
>> But apropos to your question, perhaps the Coast docs on authentication 
>> will help you.  They illustrate using Buddy.  Buddy has not been updated 
>> since Q3 2017 (a fact I find discouraging), but perhaps it is still 
>> relevant.  
>> https://github.com/coast-framework/coast/blob/master/docs/authentication.md
>>
>> I keep dreaming of a Clojure-based starter system that includes 
>> authentication and some form of database interface (definitely need not be 
>> ORM; just a demonstrated pattern).  We could begin with that, and once we 
>> have a clue what's what, then we can go the usual Clojure route and hand 
>> select every library.
>>
>>
>> On Saturday, March 21, 2020 at 8:29:04 PM UTC+1, Bost wrote:
>>>
>>> I have difficulties finding up-to-date information, tutorials, articles, 
>>> blog posts etc. concerning WebApp authentication and authorization.
>>>
>>> The most "recent" useful articles I found are from 2015 and 2014:
>>> https://rundis.github.io/blog/2015/buddy_auth_part2.html
>>> https://blog.knoldus.com/google-sign-in-using-clojure/
>>>
>>> Uhm, my google-fu is getting weak... can anyone help please? Thanks
>>>
>>> Bost
>>>
>> -- 
>> You received this message because you are subscribed to the Google
>> Groups "Clojure" group.
>> To post to this group, send email to clo...@googlegroups.com 
>> 
>> Note that posts from new members are moderated - please be patient with 
>> your first post.
>> To unsubscribe from this group, send email to
>> clo...@googlegroups.com 
>> For more options, visit this group at
>> http://groups.google.com/group/clojure?hl=en
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "Clojure" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to clo...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/clojure/6d358084-de60-42a7-8893-a118a207bdab%40googlegroups.com
>>  
>> 
>> .
>>
>
>
> -- 
> Sean A Corfield -- (904) 302-SEAN
> An Architect's View -- http://corfield.org/
> World Singles Networks, LLC. -- https://worldsinglesnetworks.com/
>
> "Perfection is the enemy of the good."
> -- Gustave Flaubert, French realist novelist (1821-1880)
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/clojure/392ef070-6bf9-4398-b202-ee1432b74ea4%40googlegroups.com.


Re: What is the minimal Emacs config for practical Clojure development?

2018-07-03 Thread Jérémie Grodziski
I like very much Spacemacs  with the Clojure layer 
 for its 
discoverability and "out of the box" configuration.
Ok it's a kind of a package manager, but once I switch to Spacemacs I've 
never look back.
The tutorial by John Stevenson  
is great.

Le lundi 2 juillet 2018 05:41:23 UTC+2, Austin Haas a écrit :
>
> I don't want to use a package manager with Emacs.
>
> Should I launch a REPL outside of Emacs, then connect to it? Using the CLI 
> tools (i.e., from the command line: clojure -J-Dclojure.server.repl="{:port 
>  :accept clojure.core.server/repl}")?
>
> Can I launch a REPL from within Emacs?
>
> I've been using inf-clojure and clojure-mode with the following elisp in 
> my .emacs:
>
> (add-to-list 'load-path "~/.emacs.d/site-lisp/third-party/clojure-mode/")
> (require 'clojure-mode)
> (add-to-list 'load-path "~/.emacs.d/site-lisp/third-party/inf-clojure/")
> (load-file "~/.emacs.d/site-lisp/third-party/inf-clojure/inf-clojure.el")
> (add-hook 'clojure-mode-hook #'inf-clojure-minor-mode)
> (setf inf-clojure-lein-cmd "lein run -m clojure.main")
>
> and C-c C-z to start a REPL, but I get noise in the REPL, including 
> repeated prompts, and (seemingly) random linebreaks in large output.
>
> What's the state of the art for a simple, practical Emacs setup for 
> Clojure?
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.