files.com 1.1.750 → 1.1.751
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.
- checksums.yaml +4 -4
- data/_VERSION +1 -1
- data/docs/site.md +4 -0
- data/docs/sso_strategy.md +2 -0
- data/lib/files.com/models/site.rb +7 -0
- data/lib/files.com/models/sso_strategy.rb +5 -0
- data/lib/files.com/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1b775d1040b04c5b4f1e0e505ab6566d01e846568f99bff1dc9e422b28dcb35f
|
|
4
|
+
data.tar.gz: ed051651f0bd313d9f7c8254e73a5c3c1f750129b7023065eb5a517d98a7b57b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4cad6489c8abe52c8cfe58d518e1e5969f853df516f8eefe0eee5fa91dbb3aeea74842859308751b377da47a20886addf17e91189d612a4d0324f48f80cb333e
|
|
7
|
+
data.tar.gz: 9cf7432a90cd2a24b733852759d5f1d56b062e7832ce987d882f41b9d72596c800f6418020a3406a344430e5f0390319557e20a98f42f82b8d451be67e758fb6
|
data/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.1.
|
|
1
|
+
1.1.751
|
data/docs/site.md
CHANGED
|
@@ -142,6 +142,7 @@
|
|
|
142
142
|
"ldap_host_3": "ldap3.site.com",
|
|
143
143
|
"ldap_port": 1,
|
|
144
144
|
"ldap_secure": true,
|
|
145
|
+
"ldap_server_certificate": "require_match",
|
|
145
146
|
"ldap_type": "open_ldap",
|
|
146
147
|
"ldap_user_action": "disabled",
|
|
147
148
|
"ldap_user_include_groups": "example",
|
|
@@ -476,6 +477,7 @@
|
|
|
476
477
|
* `ldap_host_3` (string): LDAP backup host
|
|
477
478
|
* `ldap_port` (int64): LDAP port
|
|
478
479
|
* `ldap_secure` (boolean): Use secure LDAP?
|
|
480
|
+
* `ldap_server_certificate` (string): How to validate the LDAP server certificate. `require_match` validates the certificate chain and hostname; `allow_any` disables certificate validation.
|
|
479
481
|
* `ldap_type` (string): LDAP type
|
|
480
482
|
* `ldap_user_action` (string): Should we sync users from LDAP server?
|
|
481
483
|
* `ldap_user_include_groups` (string): Comma or newline separated list of group names (with optional wildcards) - if provided, only users in these groups will be added or synced.
|
|
@@ -747,6 +749,7 @@ Files::Site.update(
|
|
|
747
749
|
ldap_host_3: "ldap3.site.com",
|
|
748
750
|
ldap_port: 1,
|
|
749
751
|
ldap_secure: false,
|
|
752
|
+
ldap_server_certificate: "require_match",
|
|
750
753
|
ldap_username: "[ldap username]",
|
|
751
754
|
ldap_username_field: "sAMAccountName",
|
|
752
755
|
ldap_domain: "mysite.com",
|
|
@@ -931,6 +934,7 @@ Files::Site.update(
|
|
|
931
934
|
* `ldap_host_3` (string): LDAP backup host
|
|
932
935
|
* `ldap_port` (int64): LDAP port
|
|
933
936
|
* `ldap_secure` (boolean): Use secure LDAP?
|
|
937
|
+
* `ldap_server_certificate` (string): How to validate the LDAP server certificate. `require_match` validates the certificate chain and hostname; `allow_any` disables certificate validation.
|
|
934
938
|
* `ldap_username` (string): Username for signing in to LDAP server.
|
|
935
939
|
* `ldap_username_field` (string): LDAP username field
|
|
936
940
|
* `ldap_domain` (string): Domain name that will be appended to usernames
|
data/docs/sso_strategy.md
CHANGED
|
@@ -53,6 +53,7 @@
|
|
|
53
53
|
"ldap_port": 1,
|
|
54
54
|
"ldap_provisioning_enabled": true,
|
|
55
55
|
"ldap_secure": true,
|
|
56
|
+
"ldap_server_certificate": "require_match",
|
|
56
57
|
"ldap_type": "active_directory",
|
|
57
58
|
"ldap_username": "[ldap username]",
|
|
58
59
|
"ldap_username_field": "sAMAccountName"
|
|
@@ -108,6 +109,7 @@
|
|
|
108
109
|
* `ldap_port` (int64): LDAP port
|
|
109
110
|
* `ldap_provisioning_enabled` (boolean): Use LDAP server settings for scheduled provisioning while using this SSO provider for authentication?
|
|
110
111
|
* `ldap_secure` (boolean): Use secure LDAP?
|
|
112
|
+
* `ldap_server_certificate` (string): How to validate the LDAP server certificate. `require_match` validates the certificate chain and hostname; `allow_any` disables certificate validation.
|
|
111
113
|
* `ldap_type` (string): LDAP server type
|
|
112
114
|
* `ldap_username` (string): Username for signing in to LDAP server.
|
|
113
115
|
* `ldap_username_field` (string): LDAP username field
|
|
@@ -551,6 +551,11 @@ module Files
|
|
|
551
551
|
@attributes[:ldap_secure]
|
|
552
552
|
end
|
|
553
553
|
|
|
554
|
+
# string - How to validate the LDAP server certificate. `require_match` validates the certificate chain and hostname; `allow_any` disables certificate validation.
|
|
555
|
+
def ldap_server_certificate
|
|
556
|
+
@attributes[:ldap_server_certificate]
|
|
557
|
+
end
|
|
558
|
+
|
|
554
559
|
# string - LDAP type
|
|
555
560
|
def ldap_type
|
|
556
561
|
@attributes[:ldap_type]
|
|
@@ -1159,6 +1164,7 @@ module Files
|
|
|
1159
1164
|
# ldap_host_3 - string - LDAP backup host
|
|
1160
1165
|
# ldap_port - int64 - LDAP port
|
|
1161
1166
|
# ldap_secure - boolean - Use secure LDAP?
|
|
1167
|
+
# ldap_server_certificate - string - How to validate the LDAP server certificate. `require_match` validates the certificate chain and hostname; `allow_any` disables certificate validation.
|
|
1162
1168
|
# ldap_username - string - Username for signing in to LDAP server.
|
|
1163
1169
|
# ldap_username_field - string - LDAP username field
|
|
1164
1170
|
# ldap_domain - string - Domain name that will be appended to usernames
|
|
@@ -1253,6 +1259,7 @@ module Files
|
|
|
1253
1259
|
raise InvalidParameterError.new("Bad parameter: ldap_host_2 must be an String") if params[:ldap_host_2] and !params[:ldap_host_2].is_a?(String)
|
|
1254
1260
|
raise InvalidParameterError.new("Bad parameter: ldap_host_3 must be an String") if params[:ldap_host_3] and !params[:ldap_host_3].is_a?(String)
|
|
1255
1261
|
raise InvalidParameterError.new("Bad parameter: ldap_port must be an Integer") if params[:ldap_port] and !params[:ldap_port].is_a?(Integer)
|
|
1262
|
+
raise InvalidParameterError.new("Bad parameter: ldap_server_certificate must be an String") if params[:ldap_server_certificate] and !params[:ldap_server_certificate].is_a?(String)
|
|
1256
1263
|
raise InvalidParameterError.new("Bad parameter: ldap_username must be an String") if params[:ldap_username] and !params[:ldap_username].is_a?(String)
|
|
1257
1264
|
raise InvalidParameterError.new("Bad parameter: ldap_username_field must be an String") if params[:ldap_username_field] and !params[:ldap_username_field].is_a?(String)
|
|
1258
1265
|
raise InvalidParameterError.new("Bad parameter: ldap_domain must be an String") if params[:ldap_domain] and !params[:ldap_domain].is_a?(String)
|
|
@@ -254,6 +254,11 @@ module Files
|
|
|
254
254
|
@attributes[:ldap_secure]
|
|
255
255
|
end
|
|
256
256
|
|
|
257
|
+
# string - How to validate the LDAP server certificate. `require_match` validates the certificate chain and hostname; `allow_any` disables certificate validation.
|
|
258
|
+
def ldap_server_certificate
|
|
259
|
+
@attributes[:ldap_server_certificate]
|
|
260
|
+
end
|
|
261
|
+
|
|
257
262
|
# string - LDAP server type
|
|
258
263
|
def ldap_type
|
|
259
264
|
@attributes[:ldap_type]
|
data/lib/files.com/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: files.com
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.751
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- files.com
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-09-
|
|
11
|
+
date: 2026-09-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: addressable
|