-
Notifications
You must be signed in to change notification settings - Fork 0
/
datasources.xml
90 lines (85 loc) · 2.7 KB
/
datasources.xml
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<?xml version="1.0" encoding="UTF-8"?>
<datasources xmlns="http://www.appng.org/schema/platform" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.appng.org/schema/platform http://www.appng.org/schema/platform/appng-platform.xsd">
<datasource id="loginData">
<config>
<title>login</title>
<meta-data bindClass="org.appng.application.authentication.webform.LoginData">
<field name="username" type="text">
<label>username</label>
</field>
<field name="password" type="password">
<label>password</label>
</field>
</meta-data>
</config>
<bean id="loginForm" />
</datasource>
<datasource id="loginDataMandatory">
<config>
<title>login</title>
<meta-data bindClass="org.appng.application.authentication.webform.LoginData">
<validation>
<group class="org.appng.application.authentication.webform.LoginData$Login" />
</validation>
<field name="username" type="text">
<label>username</label>
</field>
<field name="password" type="password">
<label>password</label>
</field>
</meta-data>
</config>
<bean id="loginForm" />
</datasource>
<datasource id="changeLoginData">
<config>
<title>change.password</title>
<meta-data bindClass="org.appng.application.authentication.webform.LoginData">
<validation>
<group class="org.appng.application.authentication.webform.LoginData$ChangePassword" />
</validation>
<field name="username" type="text" readonly="true">
<label>username</label>
</field>
<field name="oldpassword" type="password">
<label>oldpassword</label>
</field>
<field name="password" type="password">
<label>password</label>
</field>
<field name="passwordConfirmation" type="password">
<label>confirmation.password</label>
</field>
</meta-data>
</config>
<bean id="passwordChange">
</bean>
</datasource>
<datasource id="userProfile">
<config>
<title>profile.edit</title>
<meta-data bindClass="org.appng.core.domain.SubjectImpl">
<field name="name" type="text" readonly="true">
<label id="name" />
</field>
<field name="realname" type="text">
<label id="realName" />
</field>
<field name="language" type="list:select">
<label id="language" />
</field>
<field name="timeZone" type="list:select">
<label id="timeZone" />
</field>
<field name="lastLogin" type="date" readonly="true">
<label id="lastLogin" />
</field>
<field name="email" type="text">
<label id="email" />
</field>
</meta-data>
</config>
<bean id="editProfile" />
</datasource>
</datasources>