diff options
author | goodale <goodale@1faa4e14-9dd3-4be0-9f0e-ffe519881164> | 2000-09-17 13:02:27 +0000 |
---|---|---|
committer | goodale <goodale@1faa4e14-9dd3-4be0-9f0e-ffe519881164> | 2000-09-17 13:02:27 +0000 |
commit | 3911e5fe8ce0a87db2fbab4795bc03da5fe12556 (patch) | |
tree | 711e9c631912ef46c48cea3d0025770758726bc8 /param.ccl | |
parent | 820f6dc61d99821a1e0b1abeb2910bc384869603 (diff) |
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
Diffstat (limited to 'param.ccl')
-rw-r--r-- | param.ccl | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -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 |