anchor.diff:      <version>0.1.2</version>
   </dependency>
   ----
  +
   
   Get the Code
   ~~~~~~~~~~~~
  
positive.code:     (response "Hello Anonymous")))
  ----
  
  .Middleware usage example
  [source,clojure]
  ----
  ;; Import middleware function and backend constructor
  
  (require '[buddy.auth.backends.httpbasic :refer [http-basic-backend]])
  (require '[buddy.auth.middleware :refer [wrap-authentication]])
  
  ;; This function always receives request and authdata, authdata
  ;; can vary with other backends. For http basic backend, authdata
  ;; parameter has the form {:username xxxx :password yyyy}
  ;;
  ;; This function should return a non-nil value that
  ;; is automatically stored on :identity key on request
  
negative.code: HTTP Basic
  ^^^^^^^^^^
  
  The HTTP Basic authentication backend is one of the simplest and most insecure authentication 
  systems, but is a good first step for understand how buddy authentication works.
  
  .Simple ring handler/view for example purpose.
  [source,clojure]
  ----
  (require '[buddy.auth :refer (authenticated?)])
  