| 30 | | """Implements user authentication based on HTTP authentication provided by |
|---|
| 31 | | the web-server, combined with cookies for communicating the login |
|---|
| 32 | | information across the whole site. |
|---|
| 33 | | |
|---|
| 34 | | This mechanism expects that the web-server is setup so that a request to the |
|---|
| 35 | | path '/login' requires authentication (such as Basic or Digest). The login |
|---|
| 36 | | name is then stored in the database and associated with a unique key that |
|---|
| 37 | | gets passed back to the user agent using the 'trac_auth' cookie. This cookie |
|---|
| 38 | | is used to identify the user in subsequent requests to non-protected |
|---|
| 39 | | resources. |
|---|
| | 30 | """Implements user authentication based on database tables and an HTML form, |
|---|
| | 31 | combined with cookies for communicating the login information across the whole site. |
|---|