Fork me on GitHub
#web-security
<
2024-06-01
Eugen05:06:07

hi, is there a clojure library that can do the Authorization part similar to what Apache Shiro does - ?

currentUser.isPermitted( "lightsaber:wield" )
currentUser.isPermitted( "winnebago:drive:eagle5" )
https://shiro.apache.org/10-minute-tutorial.html https://shiro.apache.org/java-authorization-guide.html

seancorfield05:06:35

Use Shiro via Java interop?

Eugen09:06:36

thanks, planning to do that, was curios about solutions in clojure land

Eugen09:06:50

do you have experience with shiro?

Eugen09:06:09

also curios for some feedback

dominicm14:06:45

I recently had this question and ended up writing my own using clojure's hierarchy system. Which is to say, I didn't find a good library that already existed.

Eugen15:06:59

I think shiro is a good library but does not have integration with clojure / ring