diff options
author | xue <> | 2005-12-03 04:42:14 +0000 |
---|---|---|
committer | xue <> | 2005-12-03 04:42:14 +0000 |
commit | 0d42be79b9dfeaa7686fb7da11920af4eb0561d7 (patch) | |
tree | 2ddbfeb4243ed5d87985158ee905ea521c430fca /demos/controls/protected | |
parent | c488100ee3bf9d6c27a0a78e3174a6c698fabfa2 (diff) |
Diffstat (limited to 'demos/controls/protected')
-rw-r--r-- | demos/controls/protected/application.xml | 8 | ||||
-rw-r--r-- | demos/controls/protected/pages/config.xml | 6 | ||||
-rw-r--r-- | demos/controls/protected/pages/private/config.xml | 2 |
3 files changed, 8 insertions, 8 deletions
diff --git a/demos/controls/protected/application.xml b/demos/controls/protected/application.xml index 50375cc6..2ae2e48a 100644 --- a/demos/controls/protected/application.xml +++ b/demos/controls/protected/application.xml @@ -8,9 +8,9 @@ <!-- modules configured and loaded for all services -->
<modules>
<!--
- <module id="cache" type="System.Data.TSqliteCache" DbFile="Demo.cache"/>
+ <module id="cache" class="System.Data.TSqliteCache" DbFile="Demo.cache"/>
-->
- <module id="session" type="THttpSession" />
+ <module id="session" class="THttpSession" />
</modules>
<services>
<!-- page service, BasePath is required -->
@@ -18,12 +18,12 @@ <!-- modules configured and loaded when page service is requested -->
<modules>
<!-- user manager module -->
- <module id="users" type="System.Security.TUserManager" PasswordMode="Clear">
+ <module id="users" class="System.Security.TUserManager" PasswordMode="Clear">
<user name="demo" password="work" />
<user name="demo2" password="work2" />
</module>
<!-- auth manager module -->
- <module id="auth" type="System.Security.TAuthManager" UserManager="users" LoginPage="login" />
+ <module id="auth" class="System.Security.TAuthManager" UserManager="users" LoginPage="login" />
</modules>
</service>
</services>
diff --git a/demos/controls/protected/pages/config.xml b/demos/controls/protected/pages/config.xml index f6bbc9a3..c90a6974 100644 --- a/demos/controls/protected/pages/config.xml +++ b/demos/controls/protected/pages/config.xml @@ -5,8 +5,8 @@ <deny pages="home" users="?" verb="post" />
</authorization>
<pages Theme="BlueTheme">
- <page id="home" type="HomePage" />
- <page id="login" type="LoginPage" />
- <page id="plain" type="TPage" TemplateFile="Demo.pages.PlainPage" />
+ <page id="home" class="HomePage" />
+ <page id="login" class="LoginPage" />
+ <page id="plain" class="TPage" TemplateFile="Demo.pages.PlainPage" />
</pages>
</configuration>
\ No newline at end of file diff --git a/demos/controls/protected/pages/private/config.xml b/demos/controls/protected/pages/private/config.xml index ecfb6b00..775590cd 100644 --- a/demos/controls/protected/pages/private/config.xml +++ b/demos/controls/protected/pages/private/config.xml @@ -5,6 +5,6 @@ <deny pages="member" users="?" />
</authorization>
<pages>
- <page id="member" type="MemberPage" />
+ <page id="member" class="MemberPage" />
</pages>
</configuration>
\ No newline at end of file |