forked from cemerick/friend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.clj
54 lines (45 loc) · 2.51 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
50
51
52
53
54
(defproject com.cemerick/friend "0.1.6-SNAPSHOT"
: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"}
:min-lein-version "2.0.0"
:dependencies [[org.clojure/clojure "1.4.0"]
[ring/ring-core "1.2.0-beta1"]
[slingshot "0.10.2"]
[robert/hooke "1.1.2"]
[org.clojure/core.incubator "0.1.1"]
[org.mindrot/jbcrypt "0.3m"]
;; http-basic
[commons-codec "1.6"]
;; openid
[org.clojure/core.cache "0.6.2"]
[org.openid4java/openid4java-nodeps "0.9.6"
; the openid4java artifact refers to a now-disappeared guice repo that
; was previously hosted via google code svn :X
:exclusions [com.google.code.guice/guice]]
[com.google.inject/guice "2.0"]
[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.1"]]
:deploy-repositories {"releases" {:url "https://clojars.org/repo/" :creds :gpg}
"snapshots" {:url "https://clojars.org/repo/" :creds :gpg}}
:profiles {:dev {:dependencies [[ring-mock "0.1.1"]
[compojure "1.0.1"]
[ring "1.1.0"]
[clj-http "0.3.6"]]}
:sanity-check {:aot :all
:warn-on-reflection true
:compile-path "target/sanity-check-aot"}
:1.2 {:dependencies [[org.clojure/clojure "1.2.0"]]}
:1.3 {:dependencies [[org.clojure/clojure "1.3.0"]]}
:1.5 {:dependencies [[org.clojure/clojure "1.5.0-RC2"]]}}
:aliases {"all" ["with-profile" "dev,1.2:dev,1.3:dev:dev,1.5"]
"sanity-check" ["do" "clean," "with-profile" "sanity-check" "compile"]})
;; 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/