-
Notifications
You must be signed in to change notification settings - Fork 0
/
LoginUserTest-testLoginWrongPassword.xml
47 lines (47 loc) · 1.81 KB
/
LoginUserTest-testLoginWrongPassword.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
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<action xmlns="http://www.appng.org/schema/platform" id="login" eventId="form-auth" async="false">
<config>
<title id="login">Login</title>
<params>
<param name="form_action">loginUser</param>
</params>
<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" binding="username">
<label id="username">User</label>
<validation>
<notNull>
<message ref="username" class="ERROR" code="{username.required}">{username.required}</message>
</notNull>
</validation>
</field>
<field name="password" type="password" binding="password">
<label id="password">Password</label>
<validation>
<notNull>
<message ref="password" class="ERROR" code="{password.required}">{password.required}</message>
</notNull>
</validation>
</field>
</meta-data>
</config>
<condition expression="${form_action eq 'loginUser'}"/>
<datasource id="loginDataMandatory"/>
<userdata/>
<data>
<selection id="lang" type="select">
<title id="lang">lang</title>
</selection>
<result>
<field name="username" type="text">
<value></value>
</field>
<field name="password" type="password">
<value></value>
</field>
</result>
</data>
<bean id="loginUser"/>
</action>