Changes between Version 5 and Version 6 of ScriptAuthPlugin
- Timestamp:
- Nov 26, 2015, 10:42:01 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ScriptAuthPlugin
v5 v6 6 6 7 7 Similar to normal HTTP Authentication, this plugin uses explicit URL parameters for transferring the username and password to a web script that implements the check and returns the authentication result in the HTTP response code and content. 8 When possible, the user s email address is transferred and set as well.8 When possible, the user's email address is transferred and set as well. 9 9 10 10 == Bugs/Feature Requests … … 14 14 15 15 If you have any issues, create a 16 [ http://trac-hacks.org/newticket?component=ScriptAuthPlugin&owner=Carsten new ticket].16 [/newticket?component=ScriptAuthPlugin new ticket]. 17 17 18 18 [[TicketQuery(component=ScriptAuthPlugin&group=type,format=progress)]] 19 19 20 == Download and Source20 == Download 21 21 22 Download the zipped source from [download:scriptauthplugin here], check out [/svn/scriptauthplugin using Subversion], or [source:scriptauthplugin browse the source] with Trac. 22 Download the zipped source from [export:scriptauthplugin here]. 23 24 == Source 25 26 Check out ScriptAuthPlugin from [/svn/scriptauthplugin here] using Subversion, or [source:scriptauthplugin browse the source] with Trac. 23 27 24 28 == Installation … … 47 51 Type them exactly like this in order to have them automatically replaced by the appropriate user details. 48 52 49 The script at `script_auth_url` is expected to return `ok` followed by newline followed by the email address of the user 50 as the HTTP content when the user details are valid, or anything else otherwise. 53 The script at `script_auth_url` is expected to return `ok` followed by newline followed by the email address of the user as the HTTP content when the user details are valid, or anything else otherwise. 51 54 52 55 The HTTP result codes like 200 and 401 can unfortunately not (easily) be utilized with Python <= 2.4. 53 56 54 57 An example for a script that implements authentication against the phpBB forum database is available [http://www.phpbb.de/community/viewtopic.php?p=1155503#p1155503 here]. 55 It is useful when you cannot use the PhpBbAuthPlugin directly, e .g.because the phpBB database is not accessible from your Trac host.58 It is useful when you cannot use the PhpBbAuthPlugin directly, eg because the phpBB database is not accessible from your Trac host. 56 59 57 60 == Recent Changes