Changes between Version 4 and Version 5 of ScriptAuthPlugin


Ignore:
Timestamp:
Apr 17, 2015, 3:21:33 PM (9 years ago)
Author:
figaro
Comment:

Cosmetic changes, tagged with license

Legend:

Unmodified
Added
Removed
Modified
  • ScriptAuthPlugin

    v4 v5  
    1 = Script authentication for AccountManagerPlugin =
     1[[PageOutline(2-5,Contents,pullout)]]
    22
    3 == Description ==
     3= Script authentication for AccountManagerPlugin
     4
     5== Description
    46
    57Similar 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.
    68When possible, the users email address is transferred and set as well.
    79
    8 
    9 == Bugs/Feature Requests ==
     10== Bugs/Feature Requests
    1011
    1112Existing bugs and feature requests for ScriptAuthPlugin are
     
    1516[http://trac-hacks.org/newticket?component=ScriptAuthPlugin&owner=Carsten new ticket].
    1617
    17 == Download and Source ==
     18[[TicketQuery(component=ScriptAuthPlugin&group=type,format=progress)]]
     19
     20== Download and Source
    1821
    1922Download the zipped source from [download:scriptauthplugin here], check out [/svn/scriptauthplugin using Subversion], or [source:scriptauthplugin browse the source] with Trac.
    2023
    21 == Installation ==
     24== Installation
    2225
    23  * First make sure you have AccountManagerPlugin installed
    24  * Grab the source
    25  * Unpack the source
    26  * Change into the source directory that contains the `setup.py` file
     26 * AccountManagerPlugin must be installed.
     27 * Grab and unpack the source.
     28 * Change into the source directory that contains the `setup.py` file.
    2729 * Build an egg:
    28 {{{
     30{{{#!sh
    2931python setup.py bdist_egg
    3032}}}
    31  * Copy the egg, found in `dist/` to the `plugins` directory of the desired trac environment
     33 * Copy the egg, found in `dist/` to the `plugins` directory of the desired Trac environment.
    3234
    33 == Configuration ==
     35== Configuration
    3436
    35 Set the URL of the script that does the authentication:
     37Set the URL of the script that does the authentication by adding the following to your `trac.ini` file:
    3638
    37 {{{
     39{{{#!ini
    3840[account-manager]
    3941# password_store = ScriptAuthStore    # When using ScriptAuthStore alone.
     
    4749The script at `script_auth_url` is expected to return `ok` followed by newline followed by the email address of the user
    4850as the HTTP content when the user details are valid, or anything else otherwise.
    49 (The HTTP result codes like 200 and 401 can unfortunately not (easily) be utilized with Python <= 2.4.)
     51
     52The HTTP result codes like 200 and 401 can unfortunately not (easily) be utilized with Python <= 2.4.
    5053
    5154An 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].
    5255It is useful when you cannot use the PhpBbAuthPlugin directly, e.g. because the phpBB database is not accessible from your Trac host.
    5356
    54 
    55 == Recent Changes ==
     57== Recent Changes
    5658
    5759[[ChangeLog(scriptauthplugin, 3)]]
    5860
    59 == Author/Contributors ==
     61== Author/Contributors
    6062
    6163'''Author:''' [wiki:Carsten] [[BR]]
    62 '''Maintainer:''' [wiki:Carsten] [[BR]]
     64'''Maintainer:''' [[Maintainer]] [[BR]]
    6365'''Contributors:''' http://www.cafu.de