• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Clojure and the Web

 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
From the table of contents of Clojure Programming I noticed there is a section on "the Web". However, I was not able to discern if security -- authentication/authorization -- is covered. Are these topics covered in the book? If not, could you kindly suggestion some other resources? Thanks.

-Ari
 
author
Posts: 27
Clojure
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No, the web programming chapter in the book does not cover authentication and authorization.

For some years, I've used spring-security to cover this aspect of things in my Clojure web apps; if you already know it, that's a good place to start.

I've personally been frustrated with spring-security in a variety of areas though, which is why I've started a Clojure-specific authentication/authorization library called Friend. Clojure offers a number of facilities that have already made me far more productive with it than with spring-security, and I suspect it will only get better as time goes on.

--
(coauthor of Clojure Programming from O'Reilly; creator of Clojure Atlas)
 
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The web section does have a great explanation of Ring, which should help you in understanding how to integrate either your own security or a preexisting security library.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic