| 3 | | == Description == |
|---|
| 4 | | |
|---|
| 5 | | This is a modified login plugin to use the [http://ais.msu.edu/sentinel.htm MSU Sentinel system]. |
|---|
| 6 | | |
|---|
| 7 | | == Configuration == |
|---|
| 8 | | |
|---|
| 9 | | Options in the `[sentinel]` section: |
|---|
| 10 | | |
|---|
| 11 | | `app_id`: '''required''':: |
|---|
| 12 | | Name of the app requiring sentinel authentication. |
|---|
| 13 | | `login_url`: '''required''':: |
|---|
| 14 | | URL that user is redirected to to enter credentials. |
|---|
| 15 | | `service_password`: '''required''':: |
|---|
| 16 | | Password to connect to sentinel web service. |
|---|
| 17 | | `service_url`: '''required''':: |
|---|
| 18 | | URL of sentinel web service. |
|---|
| 19 | | `service_username`: '''required''':: |
|---|
| 20 | | Username to connect to sentinel web service. |
|---|
| 21 | | |
|---|
| 22 | | To enable the plugin: |
|---|
| 23 | | |
|---|
| 24 | | {{{ |
|---|
| 25 | | [components] |
|---|
| 26 | | tracsentinel.* = enabled |
|---|
| 27 | | trac.web.auth.LoginModule = disabled |
|---|
| 28 | | }}} |
|---|
| 29 | | |
|---|
| 30 | | == Example == |
|---|
| 31 | | |
|---|
| 32 | | An example configuration: |
|---|
| 33 | | |
|---|
| 34 | | {{{ |
|---|
| 35 | | [sentinel] |
|---|
| 36 | | app_id = MyApp |
|---|
| 37 | | login_url = https://login.example.com/ |
|---|
| 38 | | service_password = sentinel_password |
|---|
| 39 | | service_url = https://sentinel.example.com/sentinel/service |
|---|
| 40 | | service_username = sentinel_username |
|---|
| 41 | | }}} |
|---|
| | 3 | [[Include(source:tracsentinelplugin/0.11/README)]] |
|---|