summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxue <>2005-12-24 23:13:37 +0000
committerxue <>2005-12-24 23:13:37 +0000
commitc9ecc1acec7b24ad646ff563d72738b7896c635b (patch)
tree88f91269bf3c1cbec54c3ecaa4fbae12920964dc
parentd26a1fd69435989834d1da1cac8dd6ab434826f3 (diff)
-rw-r--r--.gitattributes1
-rw-r--r--demos/personal/protected/application.xml25
2 files changed, 26 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
index 193ee48d..18039981 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -9,6 +9,7 @@ demos/personal/protected/Pages/Layout.tpl -text
demos/personal/protected/Pages/UserLogin.page -text
demos/personal/protected/Pages/UserLogin.php -text
demos/personal/protected/Pages/config.xml -text
+demos/personal/protected/application.xml -text
demos/personal/themes/BlueTheme/buttons.skin -text
demos/personal/themes/BlueTheme/icon_profile.gif -text
demos/personal/themes/BlueTheme/labels.skin -text
diff --git a/demos/personal/protected/application.xml b/demos/personal/protected/application.xml
new file mode 100644
index 00000000..dbb51264
--- /dev/null
+++ b/demos/personal/protected/application.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<application>
+ <!-- modules configured and loaded for all services -->
+ <modules>
+ <!-- Remove this comment mark to enable caching
+ <module id="cache" class="System.Data.TSqliteCache" />
+ -->
+ <module id="session" class="THttpSession" />
+ </modules>
+ <services>
+ <!-- page service -->
+ <service id="page" class="TPageService" BasePath="Application.Pages">
+ <!-- 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" />
+ </modules>
+ </service>
+ </services>
+</application> \ No newline at end of file