Skip to content

Commit

Permalink
Remove references to obsolete Z_REALM (#486)
Browse files Browse the repository at this point in the history
The Z_REALM environment variable is no longer used to control the
realm name of a basic auth dialog.

closes #438

modified:   docs/zdgbook/ObjectPublishing.rst
modified:   src/Zope2/Startup/handlers.py
  • Loading branch information
jugmac00 committed Feb 10, 2019
1 parent 9f330d9 commit 87c4ba0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 19 deletions.
14 changes: 0 additions & 14 deletions docs/zdgbook/ObjectPublishing.rst
Expand Up @@ -590,20 +590,6 @@ Finally, traversal security can be circumvented with the
in Chapter 6, "Security".


Environment Variables
=====================

You can control some facets of the publisher's operation by setting
environment variables.

- 'Z_REALM' -- Sets the basic authorization realm. This controls the
realm name as it appears in the web browser's username and password
dialog. You can also set the realm with the '__bobo_realm__' module
variable, as mentioned previously.

Many more options can be set using switches on the startup script.
See the *Zope Administrator's Guide* for more information.

Testing
-------

Expand Down
5 changes: 0 additions & 5 deletions src/Zope2/Startup/handlers.py
Expand Up @@ -62,11 +62,6 @@ def automatically_quote_dtml_request_data(value):
return value


def http_realm(value):
value is not None and _setenv('Z_REALM', value)
return value


def root_wsgi_handler(cfg):
# Set environment variables
for k, v in cfg.environment.items():
Expand Down

0 comments on commit 87c4ba0

Please sign in to comment.