exUserFolder with MySQL and cookie authentication
I am running Zope 2.6.0 with XUF 0.10.10, and would like to use the MySQL authentication source with cookie authentication. Unfortunately it does not work: attempting to access a protected resource with the acl_users so configured results in: 8< ------- >8 Site Error An error was encountered while publishing this resource. RuntimeError Sorry, a site error occurred. Traceback (innermost last): * Module ZPublisher.Publish, line 150, in publish_module * Module ZPublisher.Publish, line 114, in publish * Module Zope, line 171, in zpublisher_exception_hook * Module ZPublisher.Publish, line 98, in publish * Module ZPublisher.mapply, line 88, in mapply * Module ZPublisher.Publish, line 39, in call_object * Module Products.exUserFolder.exUserFolder, line 791, in redirectToLogin * Module OFS.DTMLMethod, line 126, in __call__ * Module DocumentTemplate.DT_String, line 474, in __call__ * Module OFS.DTMLMethod, line 119, in __call__ * Module DocumentTemplate.DT_String, line 474, in __call__ * Module DocumentTemplate.DT_Util, line 201, in eval __traceback_info__: REQUEST * Module <string>, line 2, in f RuntimeError: function attributes not accessible in restricted mode (Also, an error occurred while attempting to render the standard error message.) 8< ------- >8 If I use the standard authentication scheme, all works as I expect it to. Anyone have an idea what might be happening here? TIA, -tree -- Tom Emerson Basis Technology Corp. Software Architect http://www.basistech.com "Beware the lollipop of mediocrity: lick it once and you suck forever"
Tom Emerson wrote:
I am running Zope 2.6.0 with XUF 0.10.10, and would like to use the MySQL authentication source with cookie authentication. Unfortunately it does not work: attempting to access a protected resource with the acl_users so configured results in:
I'd recommend trying SimpleUserFolder instead... http://www.zope.org/Members/NIP/SimpleUserFolder cheers, Chris
participants (2)
-
Chris Withers -
Tom Emerson