puavo_authentication 0.0.7 → 0.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -78,6 +78,12 @@ module PuavoAuthentication
78
78
  #logger.debug "password: #{session[:password_plaintext]}"
79
79
  LdapBase.ldap_setup_connection(host, base, dn, password)
80
80
  end
81
+
82
+ def remove_ldap_connection
83
+ ActiveLdap::Base.active_connections.keys.each do |connection_name|
84
+ ActiveLdap::Base.remove_connection(connection_name)
85
+ end
86
+ end
81
87
  end
82
88
  end
83
89
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puavo_authentication
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 15
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 7
10
- version: 0.0.7
9
+ - 8
10
+ version: 0.0.8
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jouni Korhonen
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-10-27 00:00:00 +03:00
18
+ date: 2010-10-28 00:00:00 +03:00
19
19
  default_executable:
20
20
  dependencies: []
21
21