zuora_connect 3.2.7 → 3.2.9
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0452ecb76f32eef54e589335f091fe184ada0ba9b8ad1871f1a1b1e9829b1f18
|
4
|
+
data.tar.gz: 31ff0fe165db7d17ed46c07ed19df02dbb29dd5289cfa06269819a9b5a7e6e69
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f59ea3a89c52828218fc69f578aba03f3f072c3c2ec1595643f8c77e49234b5d9fd93645d9a6a930b563e0e73c72fddbf87b2ce1ed831301d08d5137ab5653e
|
7
|
+
data.tar.gz: fa86e877ae6f0b8d6f4f422a307c2e772a7a6406f904fa9f1b34be8060ceffd5889ba1af501276be2630859890df526d48c3e12269e6a034f430eecb5682996c
|
@@ -3,8 +3,16 @@ module ZuoraConnect
|
|
3
3
|
protect_from_forgery with: :exception
|
4
4
|
before_action :authenticate_connect_app_request, except: [:ldap_login]
|
5
5
|
after_action :persist_connect_app_session, except: [:ldap_login]
|
6
|
-
|
6
|
+
skip_before_action :verify_authenticity_token, :only => [:ldap_login]
|
7
|
+
|
7
8
|
def ldap_login
|
9
|
+
if !ZuoraConnect::AppInstance::INTERNAL_HOSTS.include?(request.headers.fetch("HOST", nil))
|
10
|
+
render 'zuora_connect/application/ldap_login', locals: {
|
11
|
+
title: 'Internal Auth Failure',
|
12
|
+
message: 'Internal Auth Failure'
|
13
|
+
}, :layout => false
|
14
|
+
end
|
15
|
+
|
8
16
|
require 'net-ldap'
|
9
17
|
|
10
18
|
username = request.parameters['ldap_username']
|
@@ -233,6 +233,8 @@ module ZuoraConnect
|
|
233
233
|
retry
|
234
234
|
rescue ZuoraConnect::Exceptions::InvalidCredentialSet => ex
|
235
235
|
raise
|
236
|
+
rescue ZuoraConnect::Exceptions::ConnectCommunicationError => ex
|
237
|
+
raise
|
236
238
|
rescue => ex
|
237
239
|
if recoverable_session
|
238
240
|
ZuoraConnect.logger.warn("REBUILDING - Using backup expired cache", ex, self.default_ougai_items)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zuora_connect
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.2.
|
4
|
+
version: 3.2.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Connect Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-10-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: apartment
|