Commit 1643f4b4 authored by Jim Fulton's avatar Jim Fulton

Fixed bug in new feature: 'AUTHENTICATED_USER'

parent ec9b1a4f
...@@ -444,7 +444,7 @@ Publishing a module using the ILU Requestor (future) ...@@ -444,7 +444,7 @@ Publishing a module using the ILU Requestor (future)
o Configure the web server to call module_name@server_name with o Configure the web server to call module_name@server_name with
the requestor. the requestor.
$Id: Publish.py,v 1.6 1996/07/10 22:53:54 jfulton Exp $""" $Id: Publish.py,v 1.7 1996/07/11 19:39:07 jfulton Exp $"""
#' #'
# Copyright # Copyright
# #
...@@ -497,6 +497,9 @@ $Id: Publish.py,v 1.6 1996/07/10 22:53:54 jfulton Exp $""" ...@@ -497,6 +497,9 @@ $Id: Publish.py,v 1.6 1996/07/10 22:53:54 jfulton Exp $"""
# (540) 371-6909 # (540) 371-6909
# #
# $Log: Publish.py,v $ # $Log: Publish.py,v $
# Revision 1.7 1996/07/11 19:39:07 jfulton
# Fixed bug in new feature: 'AUTHENTICATED_USER'
#
# Revision 1.6 1996/07/10 22:53:54 jfulton # Revision 1.6 1996/07/10 22:53:54 jfulton
# Fixed bug in use of default realm. # Fixed bug in use of default realm.
# #
...@@ -520,7 +523,7 @@ $Id: Publish.py,v 1.6 1996/07/10 22:53:54 jfulton Exp $""" ...@@ -520,7 +523,7 @@ $Id: Publish.py,v 1.6 1996/07/10 22:53:54 jfulton Exp $"""
# #
# #
# #
__version__='$Revision: 1.6 $'[11:-2] __version__='$Revision: 1.7 $'[11:-2]
def main(): def main():
...@@ -584,6 +587,7 @@ class ModulePublisher: ...@@ -584,6 +587,7 @@ class ModulePublisher:
try: try:
user=realm.validate(self.env("HTTP_AUTHORIZATION"),groups) user=realm.validate(self.env("HTTP_AUTHORIZATION"),groups)
self.request['AUTHENTICATED_USER']=user self.request['AUTHENTICATED_USER']=user
return user
except: except:
try: try:
t,v,tb=sys.exc_type, sys.exc_value,sys.exc_traceback t,v,tb=sys.exc_type, sys.exc_value,sys.exc_traceback
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment