diff options
author | Luke Macken <lmacken@redhat.com> | 2008-02-19 21:54:53 -0500 |
---|---|---|
committer | Luke Macken <lmacken@redhat.com> | 2008-02-19 21:54:53 -0500 |
commit | 1f39ac5ee06525df1d223ddd3655e6d5841d91f6 (patch) | |
tree | 446695617fa4efe04e1359b7176c4ccf8a378ae8 /funcweb/funcweb | |
parent | 7d8475088d2f4bb13fcc8ad69b57afaa354cbeb8 (diff) | |
download | third_party-func-1f39ac5ee06525df1d223ddd3655e6d5841d91f6.tar.gz third_party-func-1f39ac5ee06525df1d223ddd3655e6d5841d91f6.tar.xz third_party-func-1f39ac5ee06525df1d223ddd3655e6d5841d91f6.zip |
Update the funcweb configuration to use our new model and PAM identity provider
Diffstat (limited to 'funcweb/funcweb')
-rw-r--r-- | funcweb/funcweb/config/app.cfg | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/funcweb/funcweb/config/app.cfg b/funcweb/funcweb/config/app.cfg index 504f018..119f6d2 100644 --- a/funcweb/funcweb/config/app.cfg +++ b/funcweb/funcweb/config/app.cfg @@ -19,12 +19,6 @@ tg.defaultview = "genshi" # Allow every exposed function to be called as json, # tg.allow_json = False -# Suppress the inclusion of the shipped MochiKit version, which is rather outdated. -# Attention: setting this to True and listing 'turbogears.mochikit' in 'tg.include_widgets' -# is a contradiction. This option will overrule the default-inclusion to prevent version -# mismatch bugs. -# tg.mochikit_suppress = True - # List of Widgets to include on every page. # for example ['turbogears.mochikit'] # tg.include_widgets = [] @@ -70,8 +64,9 @@ visit.on=True visit.manager="sqlalchemy" # Database class to use for visit tracking -visit.saprovider.model = "funcweb.model.Visit" -identity.saprovider.model.visit = "funcweb.model.VisitIdentity" +visit.saprovider.model = "funcweb.identity.model.Visit" +identity.saprovider.model.visit = "funcweb.identity.model.VisitIdentity" + # IDENTITY # General configuration of the TurboGears Identity management module @@ -85,7 +80,7 @@ identity.on=True # option must be specified. identity.failure_url="/login" -identity.provider='sqlalchemy' +identity.provider='pam' # The names of the fields on the login form containing the visitor's user ID # and password. In addition, the submit button is specified simply so its @@ -107,9 +102,9 @@ identity.provider='sqlalchemy' # The classes you wish to use for your Identity model. Remember to not use reserved # SQL keywords for class names (at least unless you specify a different table # name using sqlmeta). -identity.saprovider.model.user="funcweb.model.User" -identity.saprovider.model.group="funcweb.model.Group" -identity.saprovider.model.permission="funcweb.model.Permission" +identity.saprovider.model.user="funcweb.identity.model.User" +identity.saprovider.model.group="funcweb.identity.model.Group" +identity.saprovider.model.permission="funcweb.identity.model.Permission" # The password encryption algorithm used when comparing passwords against what's # stored in the database. Valid values are 'md5' or 'sha1'. If you do not |