summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorxue <>2005-12-15 21:51:08 +0000
committerxue <>2005-12-15 21:51:08 +0000
commit6ddcb972cd4f53a7f0d0574d009d900a9f605447 (patch)
treefb5a7e7aa22834db0d10df65ee21c07ce46ebcab /demos
parentdbf44bde6e86c270d618be7661dd4e2fb5cf2563 (diff)
added demo of using userfile to specify user data.
Diffstat (limited to 'demos')
-rw-r--r--demos/controls/protected/application.xml2
-rw-r--r--demos/controls/protected/userFile.xml5
2 files changed, 6 insertions, 1 deletions
diff --git a/demos/controls/protected/application.xml b/demos/controls/protected/application.xml
index 2ae2e48a..56f37d03 100644
--- a/demos/controls/protected/application.xml
+++ b/demos/controls/protected/application.xml
@@ -18,7 +18,7 @@
<!-- modules configured and loaded when page service is requested -->
<modules>
<!-- user manager module -->
- <module id="users" class="System.Security.TUserManager" PasswordMode="Clear">
+ <module id="users" class="System.Security.TUserManager" UserFile="Demo.userFile" PasswordMode="Clear">
<user name="demo" password="work" />
<user name="demo2" password="work2" />
</module>
diff --git a/demos/controls/protected/userFile.xml b/demos/controls/protected/userFile.xml
new file mode 100644
index 00000000..b5d02df0
--- /dev/null
+++ b/demos/controls/protected/userFile.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<configuration>
+ <user name="demo3" password="work3" />
+</configuration> \ No newline at end of file