Revision d3bc1ee3
[#1615] Compatibilité repoze.who 2.0
Dans repoze.who v2, les identifiers ne sont plus automatiquement des
authenticators et doivent être ajoutés explicitement.
Change-Id: I0d311e697081819d8970df5acac6a84eeb4f3ca2
Refs: #1615.
test.ini | ||
---|---|---|
37 | 37 |
max_maps = -2 |
38 | 38 |
|
39 | 39 |
[app:pagination] |
40 |
use = main |
|
40 |
use = main_without_authn
|
|
41 | 41 |
vigiboard_items_per_page = 1 |
vigiboard/tests/functional/test_silence.py | ||
---|---|---|
467 | 467 |
|
468 | 468 |
# On affiche la seconde page de la table des règles de mise en silence |
469 | 469 |
environ = {'REMOTE_USER': 'manager'} |
470 |
# response = self.app.get('/silence?page=2', extra_environ=environ) |
|
471 |
response = self.app.get('/silence?page=2', extra_environ={'REMOTE_USER': 'manager'}) |
|
470 |
response = self.app.get('/silence?page=2', extra_environ=environ) |
|
472 | 471 |
|
473 | 472 |
# Il ne doit y avoir qu'une seule ligne de |
474 | 473 |
# résultats concernant "service2" sur "host1" |
who.ini | ||
---|---|---|
15 | 15 |
rememberer_name = auth_tkt |
16 | 16 |
post_login_url = /post_login |
17 | 17 |
post_logout_url = /post_logout |
18 |
encoding = utf-8
|
|
18 |
charset = utf-8
|
|
19 | 19 |
|
20 | 20 |
;[plugin:kerberos] |
21 | 21 |
;use = repoze.who.plugins.vigilo.kerberos:VigiloKerberosAuthenticator |
... | ... | |
40 | 40 |
[authenticators] |
41 | 41 |
plugins = |
42 | 42 |
vigilo.turbogears.repoze.plugins.sqlauth:plugin |
43 |
auth_tkt |
|
43 | 44 |
|
44 | 45 |
[challengers] |
45 | 46 |
plugins = |
... | ... | |
49 | 50 |
[mdproviders] |
50 | 51 |
plugins = |
51 | 52 |
vigilo.turbogears.repoze.plugins.mduser:plugin |
52 |
vigilo.turbogears.repoze.plugins.mdgroups:plugin |
Also available in: Unified diff