josso-client 0.1.3 → 0.1.4

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.
Files changed (2) hide show
  1. data/lib/josso-client.rb +2 -2
  2. metadata +3 -3
@@ -96,7 +96,7 @@ module Main
96
96
 
97
97
 
98
98
  # Logout from the Josso
99
- def logout()
99
+ def logout(redirect = true)
100
100
  begin
101
101
  if(!session[:josso_session_id].nil?)
102
102
  jossoagent = Jossoagent.new(self.APP_CONFIG['josso_root'] + 'services/SSOIdentityManager', self.APP_CONFIG['josso_root'] + 'services/SSOIdentityProvider')
@@ -107,7 +107,7 @@ module Main
107
107
  ensure
108
108
  #redirect to unique error page of rece system
109
109
  reset_session
110
- redirect_to self.APP_CONFIG['partner_application_entry_url']
110
+ redirect_to self.APP_CONFIG['partner_application_entry_url'] if redirect
111
111
  end
112
112
  end
113
113
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 3
9
- version: 0.1.3
8
+ - 4
9
+ version: 0.1.4
10
10
  platform: ruby
11
11
  authors:
12
12
  - Peter Peterson
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-10-15 00:00:00 -06:00
18
+ date: 2010-10-18 00:00:00 -06:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency