From 3911e5fe8ce0a87db2fbab4795bc03da5fe12556 Mon Sep 17 00:00:00 2001 From: goodale Date: Sun, 17 Sep 2000 13:02:27 +0000 Subject: Added authentification for setting parameters and a control page. Unless one has previously authenticated by going to /control.html all paramters are read only. The default username and password are both "anon". I also added a hack so these don't get displayed on the web page - this should go away when we have parameter tags. Added http_Content.h which currently contains a function for registering a link to be displayed elsewhere. It takes the URL, the link name, a longer description line, and a flag. Currently the flag should be set to HTTP_QUICKLINK to get things displayed on the quicklinks on some pages. Still need to add a function which will allow other thorns access to this data. Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@35 1faa4e14-9dd3-4be0-9f0e-ffe519881164 --- param.ccl | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'param.ccl') diff --git a/param.ccl b/param.ccl index 718d530..444cdd3 100644 --- a/param.ccl +++ b/param.ccl @@ -26,6 +26,23 @@ BOOLEAN pause "Pause ?" STEERABLE = ALWAYS { } "no" +# Username and password for controlling cactus +STRING user "The username for Cactus Control " +{ + ".+" :: "Any name of one or more characters" +} "anon" + +STRING password "The password for Cactus Control" +{ + ".*" :: "Any password" +} "anon" + +KEYWORD encryption_scheme "How the password is encrypted" +{ + "none" :: "Not encrypted" + "crypt" :: "crypt(3) (standard UNIX passwd format)" +} "none" + ################################################################## # Tuning parameters -- cgit v1.2.3