diff options
author | xue <> | 2005-12-21 17:06:12 +0000 |
---|---|---|
committer | xue <> | 2005-12-21 17:06:12 +0000 |
commit | e08aa82e5e4d2bc06bb8f98654806a15bdefc994 (patch) | |
tree | bfd7e9c2ac2cf365d7a22bfa5dbb0f1d63cbd30a /demos/personal/protected/Data | |
parent | 2a940b0f6ce13cb612d3db585aaaf3d49b95885a (diff) |
Added support to global state.
Diffstat (limited to 'demos/personal/protected/Data')
-rw-r--r-- | demos/personal/protected/Data/application.xml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/demos/personal/protected/Data/application.xml b/demos/personal/protected/Data/application.xml new file mode 100644 index 00000000..d0403a50 --- /dev/null +++ b/demos/personal/protected/Data/application.xml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?>
+
+<application>
+ <paths>
+ <alias id="Application" path=".." />
+ </paths>
+ <!-- modules configured and loaded for all services -->
+ <modules>
+ <!-- make sure the path "protected" is writable by web server process if you enable this cache
+ <module id="cache" class="System.Data.TSqliteCache" DbFile="Application.Data.Cache"/>
+ -->
+ <module id="session" class="THttpSession" />
+ </modules>
+ <services>
+ <!-- page service, BasePath is required -->
+ <service id="page" BasePath="Application.Pages" DefaultPage="home">
+ <!-- modules configured and loaded when page service is requested -->
+ <modules>
+ <!-- user manager module -->
+ <module id="users" class="System.Security.TUserManager" PasswordMode="Clear">
+ <user name="demo" password="demo" />
+ </module>
+ <!-- auth manager module -->
+ <module id="auth" class="System.Security.TAuthManager" UserManager="users" LoginPage="login" />
+ <!--
+ <module id="data" class="Application.Modules.DataModule" DbFile="Application.Data.Site" />
+ -->
+ </modules>
+ </service>
+ </services>
+</application>
\ No newline at end of file |