forked from cemerick/friend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.clj
49 lines (40 loc) · 2.06 KB
/
project.clj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
(defproject com.cemerick/friend "0.0.9"
:description "Authentication and authorization library for Ring Clojure web apps and services."
:url "http://github.com/cemerick/friend"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.3.0"]
[ring/ring-core "1.0.2"]
[slingshot "0.10.2"]
[robert/hooke "1.1.2"]
[org.clojure/core.incubator "0.1.0"]
[org.mindrot/jbcrypt "0.3m"]
;; http-basic
[commons-codec "1.6"]
;; openid
[org.openid4java/openid4java-nodeps "0.9.6"]
[net.sourceforge.nekohtml/nekohtml "1.9.10"]
; need different httpclient rev for https://issues.apache.org/jira/browse/HTTPCLIENT-1118
[org.apache.httpcomponents/httpclient "4.2-beta1"]]
:profiles {:dev {:dependencies [[ring-mock "0.1.1"]
[compojure "1.0.1"]
[ring "1.0.2"]
[clj-http "0.3.6"]]}
:sanity-check {:aot :all
:compile-path "target/sanity-check-aot"}
:1.2 {:dependencies [[org.clojure/clojure "1.2.0"]]}
:1.4 {:dependencies [[org.clojure/clojure "1.4.0-beta5"]]}}
:aliases {"all" ["with-profile" "dev,1.2:dev:dev,1.4"]
"sanity-check" ["with-profile" "sanity-check" "compile"]}
:dev-dependencies [[ring-mock "0.1.1"]
[compojure "1.0.1"]
[ring "1.0.2"]
[clj-http "0.3.6"]
[lein-clojars "0.8.0"]])
;; see:
;; http://static.springsource.org/spring-security/site/docs/3.1.x/reference/springsecurity-single.html#overall-architecture
;; oauth
; https://github.com/DerGuteMoritz/clj-oauth2 OR
; https://github.com/mattrepl/clj-oauth
; https://github.com/fernandezpablo85/scribe-java
; http://technistas.com/2011/06/28/building-an-oauth-enabled-website-using-java/