Changes between Version 4 and Version 5 of AuthFormPlugin


Ignore:
Timestamp:
Nov 11, 2006, 6:13:54 AM (8 years ago)
Author:
coderanger
Comment:

Marking as deprecated

Legend:

Unmodified
Added
Removed
Modified
  • AuthFormPlugin

    v4 v5  
    33== Description ==
    44
    5 This is a plugin based off the code from [trac-ticket:791]. It is a replacement for the included !LoginModule, allowing for a true logout.
    6 
    7 '''Note:''' I have not tested this code anywhere, so I can't yet vouch that it works. If you try it before I get a chance to, please let me know how it goes (my email address is on my user page).
    8 
    9 == Bugs/Feature Requests ==
    10 
    11 Existing bugs and feature requests for AuthFormPlugin are
    12 [report:9?COMPONENT=AuthFormPlugin here].
    13 
    14 If you have any issues, create a
    15 [http://trac-hacks.org/newticket?component=AuthFormPlugin&owner=coderanger new ticket].
    16 
    17 == Download ==
    18 
    19 Download the zipped source from [download:authformplugin here].
    20 
    21 == Source ==
    22 
    23 You can check out AuthFormPlugin from [http://trac-hacks.org/svn/authformplugin here] using Subversion, or [source:authformplugin browse the source] with Trac.
    24 
    25 == Example ==
    26 
    27 Make sure you disable the built-in login module.
    28 
    29 {{{
    30 [components]
    31 trac.web.auth.LoginModule = disabled
    32 }}}
    33 
    34 == Note ==
    35 
    36 If the url to trac is not of the form `http://trac.domain.ext/`, then this won't work, because it assume the login page is always at `http://trac.domain.ext/login`. This can be remedied in Apache if you do this:
    37 
    38 {{{
    39 <Location "/login"> # instead of /trac/login, or whatever
    40   AuthType Basic
    41   ...
    42   Require valid-user
    43 </Location>
    44 # This is needed for authform
    45 Redirect /login http://whatever.yourdomain.ext/trac/login # or wherever it really is
    46 }}}
     5'''NOTE''': This plugin is deprecated in favor of the `HttpAuthStore` back-end for the AccountManagerPlugin.
    476
    487== Author/Contributors ==
     
    5110'''Contributors:'''
    5211
    53 [[TagIt(plugin,coderanger,unsupported,0.9)]]