authpds 0.0.20 → 0.0.21
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +2 -9
- data/lib/authpds/session.rb +1 -2
- data/lib/authpds/version.rb +1 -1
- metadata +8 -8
data/README.rdoc
CHANGED
@@ -49,8 +49,7 @@ and further details about the module.
|
|
49
49
|
:validate_url_name:: URL name for validation action in routes
|
50
50
|
|
51
51
|
== Hooks Available for Overriding
|
52
|
-
:pds_record_identifier:: Allows for more complex logic in determining what should be used as the record identifier.
|
53
|
-
Defaults to what was set in the pds_record_identifier config.
|
52
|
+
:pds_record_identifier:: Allows for more complex logic in determining what should be used as the record identifier. Defaults to what was set in the pds_record_identifier config.
|
54
53
|
:valid_sso_session?:: If there is no PDS handle, can we redirect to PDS to establish a SSO session based on some other information?
|
55
54
|
:additional_authorization:: Allows for additions to the authorization decision
|
56
55
|
:additional_attributes:: Allows for additional attributes to be stored in the record
|
@@ -65,10 +64,4 @@ method, e.g. :before_persisting, :persist, :after_persisting. We're using the :
|
|
65
64
|
=== Access to the controller in Session
|
66
65
|
The class that Session extends, Authologic::Session::Base, has an explicit handle to the current controller via the instance method
|
67
66
|
:controller. This gives our custom instance methods access to cookies, session information, loggers, etc. and also allows them to
|
68
|
-
perform redirects and renders.
|
69
|
-
|
70
|
-
=== :before_login vs. :login_url
|
71
|
-
:before_login allows for customized processing before the SessionController invokes a redirect or render to a /login page. It is
|
72
|
-
is fully generic and can be used for any custom purposes. :login_url is specific for the case of logging in from a remote sytem. The
|
73
|
-
two methods can be used in conjuction, but any redirects or renders performed in :before_login, will supercede a redirect to :login_url.
|
74
|
-
|
67
|
+
perform redirects and renders.
|
data/lib/authpds/session.rb
CHANGED
@@ -19,8 +19,7 @@ module Authpds
|
|
19
19
|
# :validate_url_name:: URL name for validation action in routes
|
20
20
|
#
|
21
21
|
# == Hooks Available for Overriding
|
22
|
-
# :pds_record_identifier:: Allows for more complex logic in determining what should be used as the record identifier.
|
23
|
-
# Defaults to what was set in the pds_record_identifier config.
|
22
|
+
# :pds_record_identifier:: Allows for more complex logic in determining what should be used as the record identifier. Defaults to what was set in the pds_record_identifier config.
|
24
23
|
# :valid_sso_session?:: If there is no PDS handle, can we redirect to PDS to establish a SSO session based on some other information?
|
25
24
|
# :additional_authorization:: Allows for additions to the authorization decision
|
26
25
|
# :additional_attributes:: Allows for additional attributes to be stored in the record
|
data/lib/authpds/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: authpds
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.21
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-03-
|
12
|
+
date: 2012-03-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
16
|
-
requirement: &
|
16
|
+
requirement: &2151877320 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 3.2.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *2151877320
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: authlogic
|
27
|
-
requirement: &
|
27
|
+
requirement: &2151876140 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *2151876140
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: nokogiri
|
38
|
-
requirement: &
|
38
|
+
requirement: &2151869800 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,7 +43,7 @@ dependencies:
|
|
43
43
|
version: '0'
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *2151869800
|
47
47
|
description: Libraries that use Ex Libris products, can integrate Rails application
|
48
48
|
with PDS to provide single sign-on across systems.
|
49
49
|
email:
|