Tags:
authentication4Add my vote for this tag integration2Add my vote for this tag ldap2Add my vote for this tag redirect1Add my vote for this tag create new tag
, view all tags

RequireRegistrationPlugin

Force externally authenticated users to register a WikiName

Introduction

This plugin will redirect a user to the TWikiRegistration topic if their login name is not a WikiWord.

Use this if you have setup single sign-on (SSO) and want to force externally authenticated users to register their WikiName before accessing any wiki content.

The condition for when to redirect can very easily be enhanced to only force users to register when they try to:

  • access a protected web
  • edit a page

Syntax Rules

  • None, just install it. Modifications currently must be made in the Perl code.

Examples

  • None. It just works.

Plugin Settings

Plugin settings are stored as preferences variables. To reference a plugin setting write %<plugin>_<setting>%, i.e. %REQUIREREGISTRATIONPLUGIN_SHORTDESCRIPTION%

  • One line description, is shown in the TextFormattingRules topic:
    • Set SHORTDESCRIPTION = Force externally authenticated users to register a WikiName

  • Refresh time in seconds to do a meta refresh redirect to the registration page. Specify -1 to use an immediate redirect CGI query:
    • Set REFRESH = -1

  • Debug plugin: (See output in data/debug.txt)
    • Set DEBUG = 0

Plugin Installation Instructions

Note: You do not need to install anything on the browser to use this plugin. The following instructions are for the administrator who installs the plugin on the TWiki server.

  • Download the ZIP file from the plugin web (see below)
  • Unzip RequireRegistrationPlugin.zip in your twiki installation directory. Content:
    File: Description:
    data/TWiki/RequireRegistrationPlugin.txt Plugin topic
    lib/TWiki/Plugins/RequireRegistrationPlugin.pm Plugin Perl module
  • Configure the Plugin:
    • Run the configure script to enable the plugin
    • Change the plugin settings as needed
  • Test if the installation was successful:

Plugin Info

Plugin Author: TWiki:Main.ByronIgoe
Copyright: © 2007 TWiki:Main.ByronIgoe
© 2009-2011 TWiki:Main.PeterThoeny
© 2008-2011 TWiki:Main.TWikiContributors
License: GPL (GNU General Public License)
Plugin Version: 2011-08-02 (v1.3)
Change History:  
2011-08-02: TWikibug:Item6725: Change global package variables from "use vars" to "our" -- TWiki:Main.PeterThoeny
2010-10-29: Doc fixes -- Peter Thoeny
2008-03-04: Fix bug in addToHEAD, made redirect method and refresh time configurable -- Peter Thoeny
2007-08-27: Initial version
TWiki Dependency: $TWiki::Plugins::VERSION 1.1
CPAN Dependencies: none
Other Dependencies: none
Perl Version: 5.005
Benchmarks: GoodStyle nn%, FormattedSearch nn%, RequireRegistrationPlugin nn%
Plugin Home: http://TWiki.org/cgi-bin/view/Plugins/RequireRegistrationPlugin
Feedback: http://TWiki.org/cgi-bin/view/Plugins/RequireRegistrationPluginDev
Appraisal: http://TWiki.org/cgi-bin/view/Plugins/RequireRegistrationPluginAppraisal

Related Topics: TWikiPlugins, DeveloperDocumentationCategory, AdminDocumentationCategory, TWikiPreferences

Topic attachments
I Attachment Action Size Date Who Comment
Unknown file formatmd5 RequireRegistrationPlugin.md5 manage 0.2 K 2011-08-02 - 23:34 PeterThoeny  
Compressed Zip archivetgz RequireRegistrationPlugin.tgz manage 4.4 K 2011-08-02 - 23:34 PeterThoeny  
Compressed Zip archivezip RequireRegistrationPlugin.zip manage 6.2 K 2011-08-02 - 23:34 PeterThoeny  
Unknown file formatEXT RequireRegistrationPlugin_installer manage 3.4 K 2011-08-02 - 23:34 PeterThoeny  
Topic revision: r6 - 2011-08-23 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by PerlIdeas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.