Skip to content

Commit

Permalink
Force Authenticators to use Ice encoding 1.0
Browse files Browse the repository at this point in the history
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
  • Loading branch information
hacst committed Mar 12, 2016
1 parent 5a227f4 commit f6e3f1e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions Authenticators/Elkarte/elkarteauth.py
Expand Up @@ -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()
Expand Down
1 change: 1 addition & 0 deletions Authenticators/LDAP/LDAPauth.py
Expand Up @@ -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()
Expand Down
1 change: 1 addition & 0 deletions Authenticators/SMF/1.x/smfauth.py
Expand Up @@ -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()
Expand Down
1 change: 1 addition & 0 deletions Authenticators/SMF/2.0/smfauth.py
Expand Up @@ -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()
Expand Down
1 change: 1 addition & 0 deletions Authenticators/phpBB3/phpBB3auth.py
Expand Up @@ -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()
Expand Down

0 comments on commit f6e3f1e

Please sign in to comment.