Changesets can be listed by changeset number.
The Git repository is here.
Changeset 157
Configuration of secure cookie's path now done via environment
variable HUB_COOKIE_PATH rather than being hard-coded. Added
gem reinstallation script for ROOL site.
- Comitted by: rool
- Date: Sunday December 10 18:54:08 2006 (over 17 years ago)
Affected files:
- rool/rails/gems/hubssolib/trunk/reinstall
- rool/rails/gems/hubssolib/trunk/VERSION (diff)
- rool/rails/gems/hubssolib/trunk/hubssolib.gemspec (diff)
- rool/rails/gems/hubssolib/trunk/lib/hub_sso_lib.rb (diff)
rool/rails/gems/hubssolib/trunk/VERSION:
prev. | current | |
1 | ||
1 | 0.2.2 (10-Dec-2006) |
rool/rails/gems/hubssolib/trunk/hubssolib.gemspec:
prev. | current | |
s.platform = Gem::Platform::RUBY | ||
s.name = 'hubssolib' | ||
7 | | |
7 | s.version = '0.2.2' | |
s.author = 'Andrew Hodgkinson and others' | ||
s.email = 'ahodgkin@rowing.org.uk' | ||
s.homepage = 'http://pond.org.uk/ruby/hub/' |
rool/rails/gems/hubssolib/trunk/lib/hub_sso_lib.rb:
prev. | current | |
# Random file location. | ||
HUBSSOLIB_RND_FILE_PATH = ENV['HUB_RANDOM_FILE'] | ||
33 | | |
33 | # Shared cookie name and path. | |
HUBSSOLIB_COOKIE_NAME = 'hubapp_shared_id' | ||
35 | HUBSSOLIB_COOKIE_PATH = ENV['HUB_COOKIE_PATH'] | |
####################################################################### | ||
# Class: Crypto # | ||
... | ... | |
# No expiry time; to aid security, use session cookies only. | ||
cookies[name] = { | ||
1098 | | |
1099 | | |
1100 | | |
1099 | :value => data, | |
1100 | :path => HUBSSOLIB_COOKIE_PATH, | |
1101 | :secure => true | |
} | ||
end | ||