This question about Authentication or Authorisation: Answered

How to use existing pw file for users?

Hi everyone. I have a file that I would use for authentication of users for an SVN basic https authentication. Is it possible to use that same file as user/password file for foswiki login? Because I don't want any public registration.

-- ChristyFernando - 12 Nov 2012

You have a couple of possibilities.

If you use Foswiki with Apache authentication, and don't let Foswiki manage the password file, the Foswiki will store email addresses in the user topics.

If you want to use TemplateLogin and have Foswiki manage the password file, then you will need to add email addresses as a 3rd field of the .htpasswd file

Wikiname:PasswordHash:email@address

Finally, in Foswiki 1.2.0 there will be a new feature: {TopicUserMapping}{ForceManageEmails} To allow Foswiki to manage passwords, but force foswiki to manage email directly in the User Mapping manager, rather than delegating it to the password manager.

-- GeorgeClark - 13 Nov 2012

Thanks for the reply. I kind of got it to work just testing it out with just pure apache.

-- ChristyFernando - 20 Nov 2012
 

QuestionForm edit

Subject Authentication or Authorisation
Extension
Version Foswiki 1.1.5
Status Answered
Related Topics
Topic revision: r3 - 20 Nov 2012, ChristyFernando
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy