summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/protected700/application.xml
blob: cb00aae31b2d64a3c1f112c6ea7cdd4f6cd4c35e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?xml version="1.0" encoding="UTF-8"?>
<application id="Ticket700Tests" Mode="Debug">
<paths>
	<using namespace="Application.common.*" />
</paths>

<services>
	<service id="page" class="TPageService" BasePageClass="Application.common.BasePage">
		<modules>
			<module id="users" class="System.Security.TUserManager" PasswordMode="Clear">
				<user name="AdminUser" password="demo" />
				<user name="NormalUser" password="demo" />
				<role name="admin" users="AdminUser" />
				<role name="user" users="NormalUser" />
			</module>
			<module id="auth" class="System.Security.TAuthManager" UserManager="users" LoginPage="UserLogin" />
		</modules>

		<authorization>
			<allow pages="Home" users="*" />
			<deny pages="admin.*" users="?" />
			<deny pages="content.*" users="*" />
			<allow users="*" />
		</authorization>

		<pages MasterClass="Application.layout.MainLayout" Param1="Set at app config" Param5="Set at app config">
			<page id="Home" Param2="Set at app config" />
			<page id="admin.Home" Param3="Set at app config" Param4="Set at app config" />
		</pages>
	</service>
</services>
</application>