wiki:HttpAuthPlugin

Version 2 (modified by rupert thurner, 17 years ago) (diff)

--

Force HTTP authentication from within Trac

Description

Allows you to protect certain paths with HTTP authentication. The AccountManagerPlugin is used to check passwords.

Primarily this is meant to be used with the XmlRpcPlugin so it will work while using AccountManager's form-based logins.

Bugs/Feature Requests

Existing bugs and feature requests for HttpAuthPlugin are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from [download:httpauthplugin here].

Source

You can check out HttpAuthPlugin from here using Subversion, or browse the source with Trac.

Example

To enable:

[components]
httpauth.* = enabled

To add additional paths:

[httpauth]
paths = /xmlrpc, /login/xmlrpc

Recent Changes

18631 by jun66j5 on 2024-04-11 01:31:33
TracHTTPAuth: allow to configure HTTP authentication realm
18630 by jun66j5 on 2024-04-09 21:45:16
TracHTTPAuth: fix exception raising if colons are used in password
18629 by jun66j5 on 2024-04-09 17:53:55
TracHTTPAuth: make compatible with Python 3 and Trac 1.6 (closes #14250)
(more)

Author/Contributors

Author: coderanger
Contributors: