diff options
author | xue <> | 2005-11-16 13:33:17 +0000 |
---|---|---|
committer | xue <> | 2005-11-16 13:33:17 +0000 |
commit | 749dec2fcae7b8cdd86ecc923b1af3abfadbcde2 (patch) | |
tree | b31617a60b7884ce6a7292896c5b7b17cdbf9754 /demos/personal/protected/application.xml | |
parent | f5294995a9324d8e748b2f5520fb43675d1e54fe (diff) |
Diffstat (limited to 'demos/personal/protected/application.xml')
-rw-r--r-- | demos/personal/protected/application.xml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/demos/personal/protected/application.xml b/demos/personal/protected/application.xml new file mode 100644 index 00000000..260f26c7 --- /dev/null +++ b/demos/personal/protected/application.xml @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="utf-8"?>
+
+<configuration>
+ <paths>
+ <alias id="Application" path="." />
+ <alias id="Pages" path="pages" />
+ </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" type="System.Data.TSqliteCache" DbFile="Demo.cache"/>
+ -->
+ <module id="session" type="THttpSession" />
+ </modules>
+ <services>
+ <!-- page service, BasePath is required -->
+ <service id="page" BasePath="Pages" DefaultPage="home">
+ <!-- modules configured and loaded when page service is requested -->
+ <modules>
+ <!-- user manager module -->
+ <module id="users" type="System.Security.TUserManager" PasswordMode="Clear">
+ <user name="demo" password="demo" />
+ </module>
+ <!-- auth manager module -->
+ <module id="auth" type="System.Security.TAuthManager" UserManager="users" LoginPage="login" />
+ <module id="data" type="Application.data.DataModule" />
+ </modules>
+ </service>
+ </services>
+</configuration>
\ No newline at end of file |