changing the realm name?
i have a zope instance for a client of mine, and log-in/authentication is handled by a standard acl_users folder in the root level. when the log-in box appears there is the realm 'zope', and i need to change this to something else. any idea how i can do this? (i have searched the zope site and this mailing list with no luck) thanks matt
Matt Carey wrote at 2003-10-29 13:30 +0000:
i have a zope instance for a client of mine, and log-in/authentication is handled by a standard acl_users folder in the root level.
when the log-in box appears there is the realm 'zope', and i need to change this to something else.
any idea how i can do this? (i have searched the zope site and this mailing list with no luck)
You did not search good enough... Anyway: the realm can be controlled by an environment variable. Search the code in "ZPublisher/*.py" for "realm" to learn the name of this environment variable (it is probably "ZOPE_REALM", but I am not sure). -- Dieter
Dieter Maurer wrote:
Anyway: the realm can be controlled by an environment variable. Search the code in "ZPublisher/*.py" for "realm" to learn the name of this environment variable (it is probably "ZOPE_REALM", but I am not sure).
How is this controlled in the new ZConfig based realm (hehe) of Zope 2.7+ Chris
You can accomplish this by adding the following to the start file in your /zope directory: export Z_REALM='yourdomain.com' Matt Carey wrote:
i have a zope instance for a client of mine, and log-in/authentication is handled by a standard acl_users folder in the root level.
when the log-in box appears there is the realm 'zope', and i need to change this to something else.
any idea how i can do this? (i have searched the zope site and this mailing list with no luck)
thanks
matt
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
participants (4)
-
Chris Withers -
Dieter Maurer -
Kevin Carlson -
Matt Carey