From f6e3f1e50998b5cde6a6b11df3b87d46cd885b61 Mon Sep 17 00:00:00 2001 From: Stefan Hacker Date: Sat, 12 Mar 2016 04:18:47 +0100 Subject: [PATCH] Force Authenticators to use Ice encoding 1.0 As we don't use the new 1.1 features and likely never will this makes us backwards and forwards compatible. See https://doc.zeroc.com/display/Doc/Encoding+Version+1.1 --- Authenticators/Elkarte/elkarteauth.py | 1 + Authenticators/LDAP/LDAPauth.py | 1 + Authenticators/SMF/1.x/smfauth.py | 1 + Authenticators/SMF/2.0/smfauth.py | 1 + Authenticators/phpBB3/phpBB3auth.py | 1 + 5 files changed, 5 insertions(+) diff --git a/Authenticators/Elkarte/elkarteauth.py b/Authenticators/Elkarte/elkarteauth.py index 78aff47..925fc97 100644 --- a/Authenticators/Elkarte/elkarteauth.py +++ b/Authenticators/Elkarte/elkarteauth.py @@ -790,6 +790,7 @@ def error(self, message): initdata.properties.setProperty(prop, val) initdata.properties.setProperty('Ice.ImplicitContext', 'Shared') + initdata.properties.setProperty('Ice.Default.EncodingVersion', '1.0') initdata.logger = CustomLogger() app = elkarteauthenticatorApp() diff --git a/Authenticators/LDAP/LDAPauth.py b/Authenticators/LDAP/LDAPauth.py index d5e2146..04c62de 100644 --- a/Authenticators/LDAP/LDAPauth.py +++ b/Authenticators/LDAP/LDAPauth.py @@ -796,6 +796,7 @@ def error(self, message): initdata.properties.setProperty(prop, val) initdata.properties.setProperty('Ice.ImplicitContext', 'Shared') + initdata.properties.setProperty('Ice.Default.EncodingVersion', '1.0') initdata.logger = CustomLogger() app = LDAPAuthenticatorApp() diff --git a/Authenticators/SMF/1.x/smfauth.py b/Authenticators/SMF/1.x/smfauth.py index bcadbfa..19b0c15 100644 --- a/Authenticators/SMF/1.x/smfauth.py +++ b/Authenticators/SMF/1.x/smfauth.py @@ -786,6 +786,7 @@ def error(self, message): initdata.properties.setProperty(prop, val) initdata.properties.setProperty('Ice.ImplicitContext', 'Shared') + initdata.properties.setProperty('Ice.Default.EncodingVersion', '1.0') initdata.logger = CustomLogger() app = smfauthenticatorApp() diff --git a/Authenticators/SMF/2.0/smfauth.py b/Authenticators/SMF/2.0/smfauth.py index 1529ace..0209a8c 100755 --- a/Authenticators/SMF/2.0/smfauth.py +++ b/Authenticators/SMF/2.0/smfauth.py @@ -789,6 +789,7 @@ def error(self, message): initdata.properties.setProperty(prop, val) initdata.properties.setProperty('Ice.ImplicitContext', 'Shared') + initdata.properties.setProperty('Ice.Default.EncodingVersion', '1.0') initdata.logger = CustomLogger() app = smfauthenticatorApp() diff --git a/Authenticators/phpBB3/phpBB3auth.py b/Authenticators/phpBB3/phpBB3auth.py index ac3077d..74aa245 100755 --- a/Authenticators/phpBB3/phpBB3auth.py +++ b/Authenticators/phpBB3/phpBB3auth.py @@ -735,6 +735,7 @@ def error(self, message): initdata.properties.setProperty(prop, val) initdata.properties.setProperty('Ice.ImplicitContext', 'Shared') + initdata.properties.setProperty('Ice.Default.EncodingVersion', '1.0') initdata.logger = CustomLogger() app = phpBBauthenticatorApp()