• 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
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

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.
 
There is no greater crime than stealing somebody's best friend. I miss you tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic