anchor.diff:  (require '[buddy.auth.backends.httpbasic :refer [http-basic-backend]])
   (require '[buddy.auth.middleware :refer [wrap-authentication wrap-authorization]])
   
  -;; Simple self difined handler for unauthorized requests.
  +;; Simple self defined handler for unauthorized requests.
   (defn my-unauthorized-handler
     [request metadata]
     (-> (response "Unauthorized request")
  
positive.code: [source,clojure]
  ----
  ;; Rules handlers used on this example are ommited for code clarity
  ;; Each handler represent authorization logic indicated by its name.
  
  (def rules [{:pattern #"^/admin/.*"
               :handler {:or [admin-access operator-access]}}
  
negative.code: *What is the difference with Friend?*
  
  _buddy-auth_ authorization/authentication facilities are more low level and less opinionated
  than friend, and allows you to easily build over them other high level abstractions.
  Technically, friend abstraction can be build on top of _buddy-auth_.
  
  
  