Changes between Version 1 and Version 2 of TracCoSignPlugin


Ignore:
Timestamp:
Feb 7, 2009, 9:43:55 AM (15 years ago)
Author:
Jiang Xin
Comment:

Add usage for TracCoSignPlugin

Legend:

Unmodified
Added
Removed
Modified
  • TracCoSignPlugin

    v1 v2  
    1 = ``CoSign`` single sign-on integration for Trac =
     1= `CoSign` single sign-on integration for Trac =
    22
    33== Description ==
     
    2424You can check out TracCoSignPlugin from [http://trac-hacks.org/svn/traccosignplugin here] using Subversion, or [source:traccosignplugin browse the source] with Trac.
    2525
    26 == Example ==
    2726
    28 An example configuration::
     27== Usage ==
     28=== The [components] section ===
     29To enable the plugin:
    2930{{{
    30     [cosign]
    31     server = https://weblogin.localdomain/
    32     service = trac
    33     login_path = /cgi-bin/login
    34     logout_path = /cgi-bin/logout
     31[components]
     32traccosign.* = enabled
     33trac.web.auth.LoginModule = disabled
     34}}}
     35
     36'''note''': Even if installing locally, you must disable the default `LoginModule`.
     37
     38=== The [cosign] section ===
     39Options in the ``[cosign]`` section:
     40 * '''server''': **required**
     41    The base URL of the `CoSign` server.
     42 * '''service''':
     43    **Requried** if do not use `CoSign` filter doing redirect.
     44 * '''login_path''':
     45    Relative path to the login service. Defaults to ``/cgi-bin/login``.
     46 * '''logout_path''':
     47    Relative path to the logout service. Defaults to ``/cgi-bin/logout``.
     48
     49=== Example ===
     50An example configuration:
     51{{{
     52[components]
     53traccosign.* = enabled
     54trac.web.auth.LoginModule = disabled
     55
     56[cosign]
     57server = https://weblogin.localdomain/
     58service = trac
     59login_path = /cgi-bin/login
     60logout_path = /cgi-bin/logout
    3561}}}
    3662