# --------------
# Enable Visit tracking
-# visit.on=False
+visit.on=True
# Number of minutes a visit may be idle before it expires.
# visit.timeout=20
# --------
# Switch to turn on or off the Identity management module
-# identity.on=False
+identity.on=True
# [REQUIRED] URL to which CherryPy will internally redirect when an access
# control check fails. If Identity management is turned on, a value for this
# option must be specified.
-# identity.failure_url=None
+identity.failure_url="/login"
# The IdentityProvider to use -- defaults to the SqlObjectIdentityProvider which
# pulls User, Group, and Permission data out of your model database.
-# identity.provider="sqlobject"
+identity.provider="sqlobject"
# 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
# existence may be stripped out prior to passing the form data to the target
# controller.
-# identity.form.user_name="user_name"
-# identity.form.password="password"
-# identity.form.submit="login"
+identity.form.user_name="user_name"
+identity.form.password="password"
+identity.form.submit="login"
# What sources should the identity provider consider when determining the
# identity associated with a request? Comma separated list of identity sources.
# Valid sources: form, visit, http_auth
-# identity.source="form,http_auth,visit"
+identity.source="form,http_auth,visit"
# SqlObjectIdentityProvider
from sqlobject import *
from turbogears.database import PackageHub
# Uncomment the following line if you wish to use Identity and SO_Provider
-# from turbogears.identity.soprovider import TG_User, TG_Group, TG_Permission
+from turbogears.identity.soprovider import TG_User, TG_Group, TG_Permission
hub = PackageHub("beweb")
__connection__ = hub
# pick the form for your database
# sqlobject.dburi="postgres://username@hostname/databasename"
# sqlobject.dburi="mysql://username:password@hostname:port/databasename"
-# sqlobject.dburi="sqlite:///file_name_and_path"
+sqlobject.dburi="sqlite:////home/abentley/be/be/Bugs-Everywhere-Web/database.sqlite"
# if you are using a database or table type without transactions
# (MySQL default, for example), you should turn off transactions