aboutsummaryrefslogtreecommitdiff
path: root/portal-gui
diff options
context:
space:
mode:
authorMichael Elkins <melkins@tislabs.com>2010-10-28 23:33:46 +0000
committerMichael Elkins <melkins@tislabs.com>2010-10-28 23:33:46 +0000
commit38e496c0aa5571dddfa5b9fd106c9f3ca42c252d (patch)
treec33cdad649c14d1d8acc35f2d0fc0f308e32bfe1 /portal-gui
parent309dc97363aac99c89880a845a369f7e4c5c070d (diff)
add section on setting up django to use apache for user authentication
svn path=/portal-gui/README.rpkidemo; revision=3509
Diffstat (limited to 'portal-gui')
-rw-r--r--portal-gui/README.rpkidemo14
1 files changed, 14 insertions, 0 deletions
diff --git a/portal-gui/README.rpkidemo b/portal-gui/README.rpkidemo
index 3ab90eea..ca83bbd9 100644
--- a/portal-gui/README.rpkidemo
+++ b/portal-gui/README.rpkidemo
@@ -29,6 +29,20 @@ Fedora:
default it uses http://localhost/myrpki/, which is probably not what you
want.
+- rpkigui/settings.py needs to be edited to allow it to make use of the
+ external user authentication provided by apache. there are two places
+ where lines need to be uncommented:
+
+ a) in MIDDLEWARE_CLASSES, uncomment:
+
+ #'django.contrib.auth.middleware.RemoteUserMiddleware',
+
+ b) uncomment the AUTHENTICATION_BACKENDS section:
+
+ #AUTHENTICATION_BACKENDS = (
+ # 'django.contrib.auth.backends.RemoteUserBackend',
+ #)
+
- run the `adduser' script to configure the portal-gui with a new account. you
need to specify the user's parent on the command line, as this acts as an
implicit authorization when rpkidemo uploads its identity.xml.