Welcome, Registration, and other StartingPoints; TWiki history & Wiki style; All the docs...
View   r2  >  r1  ...
TWikiClientTemplateLoginDotPm 2 - 16 Jan 2007 - Main.TWikiContributor
Line: 1 to 1
 

Package TWiki::Client::TemplateLogin

Changed:
<
<
This is a login manager that you can specify in the security setup section of configure. It provides users with a template-based form to enter usernames and passwords, and works with the PasswordManager? that you specify to verify those passwords.
>
>
This is a login manager that you can specify in the security setup section of configure. It provides users with a template-based form to enter usernames and passwords, and works with the PasswordManager? that you specify to verify those passwords.
 Subclass of TWiki::Client; see that class for documentation of the methods of this class.

TWikiClientTemplateLoginDotPm 1 - 01 Feb 2006 - Main.TWikiContributor
Line: 1 to 1
Added:
>
>

Package TWiki::Client::TemplateLogin

This is a login manager that you can specify in the security setup section of configure. It provides users with a template-based form to enter usernames and passwords, and works with the PasswordManager? that you specify to verify those passwords.

Subclass of TWiki::Client; see that class for documentation of the methods of this class.

ObjectMethod login ($query,$twiki)

If a login name and password have been passed in the query, it validates these and if authentic, redirects to the original script. If there is no username in the query or the username/password is invalid (validate returns non-zero) then it prompts again.

The password handler is expected to return a perl true value if the password is valid. This return value is stored in a session variable called VALIDATION. This is so that password handlers can return extra information about the user, such as a list of TWiki groups stored in a separate database, that can then be displayed by referring to %SESSION_VARIABLE{"VALIDATION"}%


Revision 2r2 - 16 Jan 2007 - 04:12:02 - TWikiContributor
Revision 1r1 - 01 Feb 2006 - 12:01:25 - TWikiContributor
This site is powered by the TWiki collaboration platform.
All material on this collaboration platform is the property of the contributing authors.
All material marked as authored by Eben Moglen is available under the license terms CC-BY-SA version 4.
Syndicate this site RSSATOM