activeldap 5.2.4 → 6.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardopts +3 -1
- data/doc/text/development.md +26 -0
- data/doc/text/{news.textile → news.md} +299 -271
- data/doc/text/{rails.textile → rails.md} +35 -33
- data/doc/text/{tutorial.textile → tutorial.md} +177 -182
- data/lib/active_ldap/adapter/base.rb +28 -8
- data/lib/active_ldap/adapter/jndi.rb +4 -6
- data/lib/active_ldap/adapter/jndi_connection.rb +105 -17
- data/lib/active_ldap/adapter/ldap.rb +8 -19
- data/lib/active_ldap/adapter/ldap_ext.rb +32 -13
- data/lib/active_ldap/adapter/net_ldap.rb +9 -18
- data/lib/active_ldap/configuration.rb +24 -1
- data/lib/active_ldap/connection.rb +1 -1
- data/lib/active_ldap/human_readable.rb +5 -4
- data/lib/active_ldap/operations.rb +21 -4
- data/lib/active_ldap/version.rb +1 -1
- data/test/al-test-utils.rb +84 -37
- data/test/test_base.rb +14 -14
- data/test/test_connection.rb +4 -0
- data/test/test_find.rb +12 -2
- data/test/test_supported_control.rb +1 -1
- data/test/test_validation.rb +19 -15
- metadata +13 -15
- data/README.textile +0 -141
- data/doc/text/development.textile +0 -54
data/README.textile
DELETED
@@ -1,141 +0,0 @@
|
|
1
|
-
h1. ActiveLdap
|
2
|
-
|
3
|
-
A ruby library for object-oriented LDAP interface.
|
4
|
-
|
5
|
-
* Copyright (C) 2004-2006 Will Drewry _<will@alum.bu.edu>_
|
6
|
-
* Copyright (C) 2006-2013 Kouhei Sutou _<kou@clear-code.com>_
|
7
|
-
|
8
|
-
h2. Description
|
9
|
-
|
10
|
-
'ActiveLdap' is a ruby library which provides a clean
|
11
|
-
objected oriented interface to LDAP library. It was
|
12
|
-
inspired by ActiveRecord. This is not nearly as clean or as
|
13
|
-
flexible as ActiveRecord, but it is still trivial to define
|
14
|
-
new objects and manipulate them with minimal difficulty.
|
15
|
-
|
16
|
-
For example and usage - read the
|
17
|
-
"document":http://activeldap.github.io/.
|
18
|
-
|
19
|
-
h2. Prerequisites
|
20
|
-
|
21
|
-
- Ruby intepreter :=
|
22
|
-
One of them:
|
23
|
-
* "Ruby":http://www.ruby-lang.org (1.9.3, 2.0.x, 2.1.x, 2.2.x, 2.3.0)
|
24
|
-
* "JRuby":http://www.jruby.org/
|
25
|
-
|
26
|
-
See the above links for installation.
|
27
|
-
=:
|
28
|
-
- LDAP client :=
|
29
|
-
JRuby doesn't need to install new library because JRuby
|
30
|
-
has builtin LDAP support. Ruby users need one of them:
|
31
|
-
|
32
|
-
* "Ruby/LDAP":http://ruby-ldap.sourceforge.net/
|
33
|
-
* "Net::LDAP":http://rubyldap.com/
|
34
|
-
|
35
|
-
See the above links for installation.
|
36
|
-
=:
|
37
|
-
- ActiveModel :=
|
38
|
-
A toolkit for building modeling frameworks like Active
|
39
|
-
Record and Active Resource.
|
40
|
-
=:
|
41
|
-
|
42
|
-
h2. Notes
|
43
|
-
|
44
|
-
* Only GSSAPI SASL support exists due to Ruby/LDAP limitations
|
45
|
-
|
46
|
-
h2. Rails
|
47
|
-
|
48
|
-
See "Rails":file.rails.html ("doc/text/rails.textile":doc/text/rails.textile
|
49
|
-
in the repository and on GitHub) page for Rails integration.
|
50
|
-
|
51
|
-
h2. Licence
|
52
|
-
|
53
|
-
This program is free software; you can redistribute it and/or modify it. It is
|
54
|
-
dual licensed under Ruby's license and under the terms of the GNU General
|
55
|
-
Public License as published by the Free Software Foundation; either version 2,
|
56
|
-
or (at your option) any later version.
|
57
|
-
|
58
|
-
Please see the file LICENSE for the terms of the licence.
|
59
|
-
|
60
|
-
h2. Thanks
|
61
|
-
|
62
|
-
This list may not be correct. If you notice mistakes of this
|
63
|
-
list, please point out.
|
64
|
-
|
65
|
-
* Dick Davies
|
66
|
-
* Nathan Kinder
|
67
|
-
* Patrick Cole
|
68
|
-
* Google Inc.
|
69
|
-
* Nobody: Bug reports and API improveent ideas.
|
70
|
-
* James Hughes: Bug reports and advices and documentations.
|
71
|
-
* Buzz Chopra: Documentations.
|
72
|
-
* Christoph Lipp:
|
73
|
-
** Bug reports.
|
74
|
-
** Tell us character escape syntax.
|
75
|
-
* Jeff Hall: Bug reports.
|
76
|
-
* Ernie Miller: Bug reports and advices.
|
77
|
-
* Daniel Pfile: Patches.
|
78
|
-
* Jacob Wilkins: Bug reports.
|
79
|
-
* Ace Suares:
|
80
|
-
** Bug reports.
|
81
|
-
** Nederlands translations.
|
82
|
-
* Iain Pople: Bug reports and API improvement ideas.
|
83
|
-
* Kevin McCarthy: Patches.
|
84
|
-
* Perry Smith: Patches, bug reports and indications.
|
85
|
-
* Marc Dequènes: API suggestions.
|
86
|
-
* Jeremy Pruitt: Bug reports.
|
87
|
-
* Bodaniel Jeanes:
|
88
|
-
** A suggestion for behavior on simple bind with empty password.
|
89
|
-
** Bug reports.
|
90
|
-
* Naoto Morishima: Bug reports.
|
91
|
-
* David Morton:
|
92
|
-
** An API improvement idea.
|
93
|
-
** Bug reports.
|
94
|
-
* Lennon Day-Reynolds: Bug reports.
|
95
|
-
* Tilo: A bug report.
|
96
|
-
* Matt Mencel: Bug reports.
|
97
|
-
* CultureSpy:
|
98
|
-
** Bug reports.
|
99
|
-
** Bug fixes.
|
100
|
-
* gwarf12: A bug report.
|
101
|
-
* Baptiste Grenier: API improvement ideas.
|
102
|
-
* Richard 3 Nicholas: API improvement ideas.
|
103
|
-
* Kazuhiro NISHIYAMA: A bug report.
|
104
|
-
* Grzegorz Marszałek: A bug report.
|
105
|
-
* しまさわらさん: A suggesetion.
|
106
|
-
* Ted Lepich: A suggestion.
|
107
|
-
* danger1986: A suggestion.
|
108
|
-
* michael.j.konopka: Bug reports.
|
109
|
-
* ingersoll: A suggestion.
|
110
|
-
* Alexey.Chebotar: Bug reports.
|
111
|
-
* ery.lee: A bug report.
|
112
|
-
* id:dicdak: A bug report.
|
113
|
-
* Raiko Mitsu: A bug report.
|
114
|
-
* Kazuaki Takase: Documents in Japanese.
|
115
|
-
* Tim Hermans: A bug report.
|
116
|
-
* Joe Francis: A suggestion.
|
117
|
-
* Tiago Fernandes: Bug reports.
|
118
|
-
* achemze: A suggestion.
|
119
|
-
* George Montana Harkin: A suggestion.
|
120
|
-
* Marc Dequènes: Bug reports.
|
121
|
-
* brad@lucky-dip.net: A bug report.
|
122
|
-
* Hideyuki Yasuda: Bug reports.
|
123
|
-
* zachwily: A bug report.
|
124
|
-
* syrius.ml@no-log.org: A bug report.
|
125
|
-
* Tim Hermans: A bug report.
|
126
|
-
* Anthony M. Martinez: Helped SASL options support
|
127
|
-
* ilusi0n.x: A bug report.
|
128
|
-
* projekttabla: A suggestion.
|
129
|
-
* christian.pennaforte: A bug report.
|
130
|
-
* planetmcd: A bug report.
|
131
|
-
* spoidar: Rails 3 support.
|
132
|
-
* Kris Wehner: Rails 2.3.8 support.
|
133
|
-
* Ryan Tandy:
|
134
|
-
** A test bug fix.
|
135
|
-
** Rails 3 support.
|
136
|
-
* rbq: A bug report.
|
137
|
-
* Narihiro Nakamura: Rails 3 support.
|
138
|
-
* Hidetoshi Yoshimoto: Rails 3 support.
|
139
|
-
* warden: A bug report.
|
140
|
-
* bklier: A bug fix.
|
141
|
-
* Craig White: Bug reports.
|
@@ -1,54 +0,0 @@
|
|
1
|
-
h1. Development
|
2
|
-
|
3
|
-
Here is information for developers.
|
4
|
-
|
5
|
-
h2. Repository
|
6
|
-
|
7
|
-
ActiveLdap uses ["git repository on
|
8
|
-
GitHub":https://github.com/activeldap]. Here is a
|
9
|
-
list to get each source code.
|
10
|
-
|
11
|
-
- "activeldap":https://github.com/activeldap/activeldap :=
|
12
|
-
<pre class="command">
|
13
|
-
% git clone https://github.com/activeldap/activeldap.git
|
14
|
-
</pre>
|
15
|
-
=:
|
16
|
-
- "al-admin":https://github.com/activeldap/al-admin :=
|
17
|
-
<pre class="command">
|
18
|
-
% git clone https://github.com/activeldap/al-admin.git
|
19
|
-
</pre>
|
20
|
-
=:
|
21
|
-
|
22
|
-
h2. Issues
|
23
|
-
|
24
|
-
ActiveLdap uses "Issues on
|
25
|
-
GitHub":https://github.com/activeldap/activeldap/issues for
|
26
|
-
issue tracking. Please submit a issue when you find an
|
27
|
-
issue.
|
28
|
-
|
29
|
-
h2. Rails 3 support
|
30
|
-
|
31
|
-
Here is design about Rails 3 support.
|
32
|
-
|
33
|
-
h3. must
|
34
|
-
|
35
|
-
* We add active_ldap/test_help.rb to support ActiveLdap fixture.
|
36
|
-
We don't write same codes into test_helper.rb like
|
37
|
-
http://ruby-activeldap.rubyforge.org/activeldap-fabrication/en/#Install
|
38
|
-
|
39
|
-
h3. may
|
40
|
-
|
41
|
-
* We support Warden.
|
42
|
-
* We support Devise
|
43
|
-
* We support OmniAuth. (instead of Warden)
|
44
|
-
|
45
|
-
h3. DONE
|
46
|
-
|
47
|
-
* We don't support Rails 3.0.x.
|
48
|
-
* We provide active_ldap/railtie to initialize ActiveLdap.
|
49
|
-
* We remove ActiveRecord dependency.
|
50
|
-
* We depend on ActiveModel instead of ActiveRecord.
|
51
|
-
* We target to Rails 3.1.0. (Yes, it's not released yet
|
52
|
-
but it will be released before we support Rails 3.x.)
|
53
|
-
* We update the documentation and ensure that the procedure
|
54
|
-
for including ActiveLdap in a Rails 3 project is correct.
|