Question
I'm trying to use the
RequireRegistration plugin with an External LDAP and need to rewrite the HTTP header in order to force authentication through the web server while passing the user to the Registration page.
Users arrive at the wiki anonymously, and as long as they are just viewing they do not need to authenticate. As soon as they try to edit, I am wanting to force authentication to the web server so I can get the "loginName" to use for their TWiki account.
How do I use modifyHeaderHandler to pass this into the HTTP header?
header('WWW-Authenticate: Basic realm="'.$realm.'"')
That HTTP header entry forces an authentication back to the web server (LDAP backend).
Thanks,
Matt
Environment
--
MattMencel - 07 Jul 2008
Answer
If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.
Sorry, closing this question after more than 30 days of inactivity. Feel free to re-open if needed.
--
PeterThoeny - 02 Sep 2008