1 // |
|
2 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 // All rights reserved. |
|
4 // This component and the accompanying materials are made available |
|
5 // under the terms of the License "Eclipse Public License v1.0" |
|
6 // which accompanies this distribution, and is available |
|
7 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 // |
|
9 // Initial Contributors: |
|
10 // Nokia Corporation - initial contribution. |
|
11 // |
|
12 // Contributors: |
|
13 // |
|
14 // Description: |
|
15 // |
|
16 |
|
17 |
|
18 PRINT Authentication Server tests... |
|
19 |
|
20 //LOAD_SUITE tAuthSvr -SharedData |
|
21 |
|
22 LOAD_SUITE tAuthSvr |
|
23 |
|
24 //Next line makes use of the new keyword that is more readable |
|
25 //LOAD_SERVER tAuthSvrServer -SharedData |
|
26 |
|
27 |
|
28 //============================================================ |
|
29 // |
|
30 //! @SYMTestCaseID SEC-AUT-AUTHSVR-0056 |
|
31 //! @SYMTestCaseDesc Start the authServer with no identities, having a default plugin defined |
|
32 //! (IdentifyMultiple_AllAtOnce) |
|
33 //! @SYMREQ REQ , REQ , REQ , REQ |
|
34 //! @SYMTestPriority Medium |
|
35 //! @SYMTestActions Have a default plugin defined, use a client that has ReadDeviceData capability to connect to the AuthServer, |
|
36 //! call the Enumerate Identity API |
|
37 //! @SYMTestExpectedResults Default identity is the only one listed |
|
38 //! @SYMDevelopedForRelease Intulo |
|
39 START_TESTCASE SEC-AUT-AUTHSVR-0056 |
|
40 |
|
41 //RUN_UTILS MakeReadWrite c:\tauth\tAuthSvr\testdata\AuthSvrPolicy.ini |
|
42 |
|
43 RUN_TEST_STEP_RESULT 0 100 tAuthSvr CreateTestDb |
|
44 RUN_TEST_STEP_RESULT 0 100 tAuthSvr FIRST_START c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0001 |
|
45 //RUN_TEST_STEP_RESULT 0 100 tAuthSvr IDENTIFY_MULTIPLE c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0001 |
|
46 |
|
47 END_TESTCASE SEC-AUT-AUTHSVR-0056 |
|
48 |
|
49 //============================================================ |
|
50 // // |
|
51 // //! @SYMTestCaseID SEC-AUT-AUTHSVR-0021 |
|
52 // //! @SYMTestCaseDesc Start the authServer with no identities, having a default plugin defined |
|
53 // //! (RegisterIdentity1_Normal) |
|
54 // //! @SYMREQ REQ4969 4970 4971 4972 4975 4976 4977 4978 |
|
55 // //! @SYMTestPriority Medium |
|
56 // //! @SYMTestActions Have a default plugin defined, use a client that has ReadDeviceData capability to connect to the AuthServer, |
|
57 // //! call the Enumerate Identity API |
|
58 // //! @SYMTestExpectedResults Default identity is the only one listed |
|
59 // //! @SYMDevelopedForRelease Intulo |
|
60 // START_TESTCASE SEC-AUT-AUTHSVR-0021 |
|
61 |
|
62 // RUN_UTILS MakeReadWrite c:\tauth\tAuthSvr\testdata\AuthSvrPolicy.ini |
|
63 // RUN_TEST_STEP_RESULT 0 100 tAuthSvr REMOVE_DBS |
|
64 // RUN_TEST_STEP !Result=Fail 100 tAuthSvr AUTHENTICATE c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0021b |
|
65 // RUN_TEST_STEP_RESULT 0 100 tAuthSvr REG_IDENTITY c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0021a |
|
66 // RUN_TEST_STEP_RESULT 0 100 tAuthSvr AUTHENTICATE c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0021b |
|
67 // RUN_TEST_STEP_RESULT 0 100 tAuthSvr AUTHSVR_CHECK c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0021c |
|
68 // END_TESTCASE SEC-AUT-AUTHSVR-0021 |
|
69 |
|
70 |
|
71 //============================================================ |
|
72 // |
|
73 // //! @SYMTestCaseID SEC-AUT-AUTHSVR-0022 |
|
74 // //! @SYMTestCaseDesc , Attempt to register a new identity, while a specific plugin inactive, the plugin should be remain untrained |
|
75 // //! (RegisterIdentity2_NoActivePlugin) |
|
76 // //! @SYMREQ REQ4941 REQ4943 REQ4953 REQ4954 |
|
77 // //! @SYMTestPriority Medium |
|
78 // //! @SYMTestActions Start the authServer with no identities. |
|
79 // //! Have a default plugin defined, which is inactive, |
|
80 // //! use a client that has ReadDeviceData capability to connect to the AuthServer, |
|
81 // //! call the Enumerate Plugins API |
|
82 // //! @SYMTestExpectedResults Specific plugin is untrained |
|
83 // //! @SYMDevelopedForRelease Intulo |
|
84 // START_TESTCASE SEC-AUT-AUTHSVR-0022 |
|
85 |
|
86 // RUN_UTILS MakeReadWrite c:\tauth\tAuthSvr\testdata\AuthSvrPolicy.ini |
|
87 // RUN_TEST_STEP_RESULT 0 100 tAuthSvr REMOVE_DBS |
|
88 // RUN_TEST_STEP !RESULT=-2 100 tAuthSvr AUTHENTICATE c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0022b |
|
89 // RUN_TEST_STEP !RESULT=-2 100 tAuthSvr REG_IDENTITY c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0022a |
|
90 // RUN_TEST_STEP !RESULT=-2 100 tAuthSvr AUTHENTICATE c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0022b |
|
91 // RUN_TEST_STEP !RESULT=-2 100 tAuthSvr AUTHSVR_CHECK c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0022c |
|
92 |
|
93 // // END_TESTCASE SEC-AUT-AUTHSVR-0022 |
|
94 |
|
95 |
|
96 //============================================================ |
|
97 // //// |
|
98 // //! @SYMTestCaseID SEC-AUT-AUTHSVR-0023 |
|
99 // //! @SYMTestCaseDesc Attempt to register a new identity, while no plugins are active, then one is activated. |
|
100 // //! (RegisterIdentity3_PluginActivatedLater |
|
101 // //! @SYMREQ REQ4954 REQ4960 REQ4962 REQ4968 REQ4957 |
|
102 // //! @SYMTestPriority Medium |
|
103 // //! @SYMTestActions Have a default plugin defined, which is inactive, and a second one which is inactive |
|
104 // //! use a client that has ReadDeviceData capability to connect to the AuthServer, |
|
105 // //! call the Enumerate Plugins API |
|
106 // //! @SYMTestExpectedResults Default plugin is untrained, then fully trained after the 2nd try |
|
107 // //! @SYMDevelopedForRelease Intulo |
|
108 // START_TESTCASE SEC-AUT-AUTHSVR-0023 |
|
109 |
|
110 // //RUN_UTILS MakeReadWrite c:\tauth\tAuthSvr\testdata\AuthSvrPolicy.ini |
|
111 RUN_UTILS MKDIR C:\testplugin_active\ |
|
112 // RUN_TEST_STEP_RESULT 0 100 tAuthSvr REMOVE_DBS |
|
113 // RUN_TEST_STEP !RESULT=-2 100 tAuthSvr AUTHENTICATE c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0023b |
|
114 // RUN_TEST_STEP !RESULT=-2 100 tAuthSvr REG_IDENTITY c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0023a |
|
115 // RUN_TEST_STEP !RESULT=-2 100 tAuthSvr AUTHENTICATE c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0023b |
|
116 // RUN_TEST_STEP !RESULT=-2 100 tAuthSvr AUTHSVR_CHECK c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0023c |
|
117 // RUN_TEST_STEP_RESULT 0 100 tAuthSvr REMOVE_DBS |
|
118 // RUN_TEST_STEP !RESULT=-2 100 tAuthSvr AUTHENTICATE c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0023b |
|
119 // RUN_TEST_STEP_RESULT 0 100 tAuthSvr REG_IDENTITY c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0023d |
|
120 // RUN_TEST_STEP_RESULT 0 100 tAuthSvr AUTHENTICATE c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0023f |
|
121 // RUN_TEST_STEP_RESULT 0 100 tAuthSvr AUTHSVR_CHECK c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0023e |
|
122 |
|
123 // END_TESTCASE SEC-AUT-AUTHSVR-0023 |
|
124 |
|
125 |
|
126 //============================================================ |
|
127 //// |
|
128 //! @SYMTestCaseID SEC-AUT-AUTHSVR-0024 |
|
129 //! @SYMTestCaseDesc Attempt to register a new identity, but the transient key obtained from one of auth Plugin is non-unique. |
|
130 //! (RegisterIdentity4_NonUniqueTransientkey) |
|
131 //! @SYMREQ REQ4953 REQ4954 REQ4955 REQ4957 REQ4958 |
|
132 //! @SYMTestPriority Medium |
|
133 //! @SYMTestActions Have a default plugin defined, which is inactive, and a second one which is inactive |
|
134 //! use a client that has ReadDeviceData capability to connect to the AuthServer, |
|
135 //! call the Enumerate Plugins API |
|
136 //! Try to register a 2nd identity while using the same 'Entered-Pin' as for the default identity. |
|
137 //! @SYMTestExpectedResults KErrAuthServPluginCancelled is received, then the plugin is showed as |
|
138 //! partially trained, not fully trained |
|
139 //! @SYMDevelopedForRelease Intulo |
|
140 START_TESTCASE SEC-AUT-AUTHSVR-0024 |
|
141 |
|
142 RUN_UTILS MKDIR C:\testplugin_active\ |
|
143 RUN_TEST_STEP_RESULT 0 100 tAuthSvr REMOVE_DBS |
|
144 RUN_TEST_STEP !RESULT=Fail 100 tAuthSvr AUTHENTICATE c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0024b |
|
145 RUN_TEST_STEP_RESULT 0 100 tAuthSvr REG_IDENTITY c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0024a |
|
146 RUN_TEST_STEP_RESULT 0 100 tAuthSvr AUTHENTICATE c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0024b |
|
147 RUN_TEST_STEP_RESULT 0 100 tAuthSvr AUTHSVR_CHECK c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0024c |
|
148 RUN_TEST_STEP_RESULT 0 100 tAuthSvr AUTHSVR_CHECK c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0024d |
|
149 RUN_UTILS DELETEDIRECTORY C:\testplugin_active\ |
|
150 END_TESTCASE SEC-AUT-AUTHSVR-0024 |
|
151 |
|
152 //============================================================ |
|
153 //// |
|
154 //! @SYMTestCaseID SEC-AUT-AUTHSVR-0025 |
|
155 //! @SYMTestCaseDesc Attempt to register a new identity, but a plugin returns the cancellation code |
|
156 //! (RegisterIdentity5_PluginCancel) |
|
157 //! @SYMREQ REQ4954 REQ4955 REQ4958 REQ4968 REQ4970 4971 4972 |
|
158 //! @SYMTestPriority Medium |
|
159 //! @SYMTestActions Have a default plugin defined, which is inactive, and a second one which is inactive |
|
160 //! use a client that has ReadDeviceData capability to connect to the AuthServer, |
|
161 //! call the Enumerate Plugins API |
|
162 //! Try to register a 2nd identity while using the 'Cancel' code as the PIN input |
|
163 //! @SYMTestExpectedResults KErrAuthServPluginCancelled is received, then the plugin is showed as |
|
164 //! partially trained, not fully trained |
|
165 //! @SYMDevelopedForRelease Intulo |
|
166 START_TESTCASE SEC-AUT-AUTHSVR-0025 |
|
167 |
|
168 |
|
169 RUN_UTILS MKDIR C:\testplugin_active\ |
|
170 RUN_TEST_STEP_RESULT 0 100 tAuthSvr REMOVE_DBS |
|
171 RUN_TEST_STEP_RESULT 0 100 tAuthSvr AUTHSVR_CHECK c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0025a |
|
172 RUN_TEST_STEP_RESULT 0 100 tAuthSvr AUTHSVR_CHECK c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0025b |
|
173 RUN_TEST_STEP_RESULT 0 100 tAuthSvr REG_IDENTITY c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0025c |
|
174 RUN_TEST_STEP_RESULT 0 100 tAuthSvr AUTHSVR_CHECK c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0025d |
|
175 RUN_TEST_STEP_RESULT 0 100 tAuthSvr AUTHSVR_CHECK c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0025e |
|
176 RUN_TEST_STEP_RESULT 0 100 tAuthSvr AUTHENTICATE c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0025f |
|
177 RUN_TEST_STEP_RESULT 0 100 tAuthSvr RETRAIN_PLUGIN c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0025g |
|
178 RUN_TEST_STEP_RESULT 0 100 tAuthSvr AUTHSVR_CHECK c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0025d |
|
179 RUN_TEST_STEP_RESULT 0 100 tAuthSvr AUTHSVR_CHECK c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0025h |
|
180 RUN_TEST_STEP_RESULT 0 100 tAuthSvr AUTHENTICATE c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0025i |
|
181 RUN_UTILS DELETEDIRECTORY C:\testplugin_active\ |
|
182 END_TESTCASE SEC-AUT-AUTHSVR-0025 |
|
183 |
|
184 |
|
185 //============================================================ |
|
186 //// |
|
187 //! @SYMTestCaseID SEC-AUT-AUTHSVR-0026 |
|
188 //! @SYMTestCaseDesc Attempt to register a new identity, but a plugin returns the 'quit' code |
|
189 //! (RegisterIdentity6_PluginExit) |
|
190 //! @SYMREQ REQ4954 REQ4955 REQ4958 REQ4968 REQ4970 4971 4972 |
|
191 //! @SYMTestPriority Medium |
|
192 //! @SYMTestActions Have a default plugin defined, which is inactive, and a second one which is inactive |
|
193 //! use a client that has ReadDeviceData capability to connect to the AuthServer, |
|
194 //! call the Enumerate Plugins API |
|
195 //! Try to register a 2nd identity while using the 'Quit' code as the PIN input |
|
196 //! @SYMTestExpectedResults KErrAuthServPluginQuit is received, then the plugin is showed as |
|
197 //! partially trained, not fully trained |
|
198 //! @SYMDevelopedForRelease Intulo |
|
199 START_TESTCASE SEC-AUT-AUTHSVR-0026 |
|
200 |
|
201 RUN_UTILS MKDIR C:\testplugin_active\ |
|
202 RUN_TEST_STEP_RESULT 0 100 tAuthSvr REMOVE_DBS |
|
203 RUN_TEST_STEP_RESULT 0 100 tAuthSvr REG_IDENTITY c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0026a |
|
204 RUN_TEST_STEP !RESULT=Fail 100 tAuthSvr AUTHENTICATE c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0026b |
|
205 END_TESTCASE SEC-AUT-AUTHSVR-0026 |
|
206 |
|
207 |
|
208 //// |
|
209 //! @SYMTestCaseID SEC-AUT-AUTHSVR-0027 |
|
210 //! @SYMTestCaseDesc Attempt to register a new identity, but the authserver cannot uniquely resolve the identity with any of the supplied plugins |
|
211 //! (RegisterIdentity7_NonUniqueIdentity_Retrain) |
|
212 //! @SYMREQ REQ4953 REQ4954 4955 4956 |
|
213 //! @SYMTestPriority Medium |
|
214 //! @SYMTestActions Have a default plugin defined, which is active, and two others which are active |
|
215 //! use a client that has ReadDeviceData capability to connect to the AuthServer, |
|
216 //! call the Enumerate Plugins API |
|
217 //! Try to register a 2nd identity while using the '0000' code as the PIN input |
|
218 //! @SYMTestExpectedResults The second identity is not registered. All the plugins are still |
|
219 //! fully trained |
|
220 //! @SYMDevelopedForRelease Intulo |
|
221 START_TESTCASE SEC-AUT-AUTHSVR-0027 |
|
222 |
|
223 RUN_TEST_STEP_RESULT 0 100 tAuthSvr REMOVE_DBS |
|
224 RUN_TEST_STEP_RESULT 0 100 tAuthSvr REG_IDENTITY c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0027a |
|
225 RUN_TEST_STEP_RESULT 0 100 tAuthSvr AUTHSVR_CHECK c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0027b |
|
226 END_TESTCASE SEC-AUT-AUTHSVR-0027 |
|
227 |
|
228 //// |
|
229 //! @SYMTestCaseID SEC-AUT-AUTHSVR-0028 |
|
230 //! @SYMTestCaseDesc Attempt to register a new identity, but the training for the 2 active plugins is cancelled |
|
231 //! (RegisterIdentity8_NonUniqueIdentity_AllPluginsCancelled) |
|
232 //! @SYMREQ REQ4953 REQ4954 4955 4956 |
|
233 //! @SYMTestPriority Medium |
|
234 //! @SYMTestActions Have a default plugin defined, which is inactive, and a second one which is inactive |
|
235 //! use a client that has ReadDeviceData capability to connect to the AuthServer, |
|
236 //! call the Enumerate Plugins API |
|
237 //! Try to register a 2nd identity while using the 'Cancel' code as the PIN input for all 3 plugins |
|
238 //! @SYMTestExpectedResults The 2nd identity is not registered then the 3 plugins are showed as fully trained |
|
239 //! |
|
240 //! @SYMDevelopedForRelease Intulo |
|
241 START_TESTCASE SEC-AUT-AUTHSVR-0028 |
|
242 |
|
243 RUN_UTILS MKDIR C:\testplugin_active\ |
|
244 RUN_TEST_STEP_RESULT 0 100 tAuthSvr REMOVE_DBS |
|
245 RUN_TEST_STEP_RESULT 0 100 tAuthSvr REG_IDENTITY c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0028a |
|
246 RUN_TEST_STEP_RESULT 0 100 tAuthSvr AUTHSVR_CHECK c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0028b |
|
247 RUN_UTILS DELETEDIRECTORY C:\testplugin_active\ |
|
248 END_TESTCASE SEC-AUT-AUTHSVR-0028 |
|
249 |
|
250 |
|
251 //// |
|
252 // //! @SYMTestCaseID SEC-AUT-AUTHSVR-0041 |
|
253 // //! @SYMTestCaseDesc Successful attempt at retraining a specified plugin |
|
254 // //! (RetrainPlug-in1_Normal) |
|
255 // //! @SYMREQ REQ4953 REQ4954 4955 4956 |
|
256 // //! @SYMTestPriority Medium |
|
257 // //! @SYMTestActions Have a default plugin defined, which is active, and a second one which is active as well |
|
258 // //! use a client that has ReadDeviceData capability to connect to the AuthServer, |
|
259 // //! call the Enumerate Plugins API |
|
260 // //! Successfully register a 2nd identity while using a specified PIN input |
|
261 // //! Authenticate then call the Train() function. Use the same PIN input so that the identity trained is one |
|
262 // //! that has been previously trained. The plugin status is then checked |
|
263 // //! @SYMTestExpectedResults The authentication, registration and retrain are successful. The plugin status is |
|
264 // //! fully trained, then fully trained again |
|
265 // //! @SYMDevelopedForRelease Intulo |
|
266 // START_TESTCASE SEC-AUT-AUTHSVR-0041 |
|
267 // RUN_TEST_STEP_RESULT 0 100 tAuthSvr REMOVE_DBS |
|
268 // RUN_TEST_STEP_RESULT 0 100 tAuthSvr REG_IDENTITY c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0041a |
|
269 // RUN_TEST_STEP_RESULT 0 100 tAuthSvr AUTHENTICATE c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0041b |
|
270 // RUN_TEST_STEP_RESULT 0 100 tAuthSvr RETRAIN_PLUGIN c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0041c |
|
271 // RUN_TEST_STEP_RESULT 0 100 tAuthSvr AUTHENTICATE c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0041d |
|
272 // END_TESTCASE SEC-AUT-AUTHSVR-0041 |
|
273 |
|
274 |
|
275 //============================================================ |
|
276 // |
|
277 //! @SYMTestCaseID SEC-AUT-AUTHSVR-0042 |
|
278 //! @SYMTestCaseDesc Attempt at retraining a specified plugin, but authentication fails |
|
279 //! (RetrainPlug-in2_AuthFailed) |
|
280 //! @SYMREQ 4969 4970 4971 4972 4975 4976 4977 4952 |
|
281 //! @SYMTestPriority Medium |
|
282 //! @SYMTestActions Have a default plugin defined, which is active, and a second one which is active as well |
|
283 //! use a client that has ReadDeviceData capability to connect to the AuthServer, |
|
284 //! call the Enumerate Plugins API |
|
285 //! Successfully register a 2nd identity while using a specified PIN input |
|
286 //! Authenticate then call the Train() function. Use the a PIN input that has not been used before |
|
287 //! so that no identity is returned as having that PIN. |
|
288 //! @SYMTestExpectedResults The registration is successful, the authentication fails, and so the retrain is unsuccessful. |
|
289 //! The plugin status is fully trained, then fully trained again |
|
290 //! @SYMDevelopedForRelease Intulo |
|
291 START_TESTCASE SEC-AUT-AUTHSVR-0042 |
|
292 //RUN_TEST_STEP_RESULT 0 100 tAuthSvr REMOVE_DBS |
|
293 //RUN_TEST_STEP_RESULT 0 100 tAuthSvr REG_IDENTITY c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0042a |
|
294 //RUN_TEST_STEP_RESULT 0 100 tAuthSvr RETRAIN_PLUGIN c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0042b |
|
295 END_TESTCASE SEC-AUT-AUTHSVR-0042 |
|
296 |
|
297 |
|
298 //============================================================ |
|
299 // |
|
300 //! @SYMTestCaseID SEC-AUT-AUTHSVR-0043 |
|
301 //! @SYMTestCaseDesc Attempt to retrain a specified plugin, but the plugin is unknown |
|
302 //! (RetrainPlug-in3_UnknownPlugin) |
|
303 //! @SYMREQ 4969 4970 4971 4972 4975 4976 4977 4952 |
|
304 //! @SYMTestPriority Medium |
|
305 //! @SYMTestActions Have a default plugin defined, which is active, and a second one which is active as well |
|
306 //! use a client that has ReadDeviceData capability to connect to the AuthServer, |
|
307 //! call the Enumerate Plugins API |
|
308 //! Successfully register a 2nd identity while using a specified PIN input |
|
309 //! Authenticate then call the Train() function. Use the a PIN input that has not been used before |
|
310 //! so that no identity is returned as having that PIN. |
|
311 //! @SYMTestExpectedResults The registration is successful, the authentication fails, and so the retrain are unsuccessful. |
|
312 //! The plugin status is fully trained, then trained |
|
313 //! @SYMDevelopedForRelease Intulo |
|
314 START_TESTCASE SEC-AUT-AUTHSVR-0043 |
|
315 |
|
316 //RUN_TEST_STEP_RESULT 0 100 tAuthSvr REMOVE_DBS |
|
317 //RUN_TEST_STEP_RESULT 0 100 tAuthSvr REG_IDENTITY c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0043a |
|
318 //RUN_TEST_STEP_RESULT 106 100 tAuthSvr RETRAIN_PLUGIN c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0043b |
|
319 END_TESTCASE SEC-AUT-AUTHSVR-0043 |
|
320 |
|
321 |
|
322 |
|
323 //============================================================ |
|
324 // |
|
325 //! @SYMTestCaseID SEC-AUT-AUTHSVR-0044 |
|
326 //! @SYMTestCaseDesc Attempt to retrain a specified plugin, but the 2nd authentication fails |
|
327 //! (RetrainPlug-in4_2ndAuthFailed) |
|
328 //! @SYMREQ 4969 4970 4971 4972 4975 4976 4977 4978 4952 |
|
329 //! @SYMTestPriority Medium |
|
330 //! @SYMTestActions Have a default plugin defined, which is active, and a second one which is active as well |
|
331 //! use a client that has ReadDeviceData capability to connect to the AuthServer, |
|
332 //! call the Enumerate Plugins API |
|
333 //! Successfully register a 2nd identity while using a specified PIN input |
|
334 //! Authenticate then call the Train() function. Use the a PIN input that was used before so that the |
|
335 //! 2nd identity is returned. A new PIN is now associated with the identity and that plugin |
|
336 //! Attempt the authentication again, but using a wrong PIN. |
|
337 //! @SYMTestExpectedResults The registration is successful, The first 'authenticate' and 'train' calls succeed. |
|
338 //! The 2nd authentication fails, and so the 2nd call to train is unsuccessful. |
|
339 //! The plugin status is fully trained, all three times that it is checked |
|
340 //! @SYMDevelopedForRelease Intulo |
|
341 START_TESTCASE SEC-AUT-AUTHSVR-0044 |
|
342 //RUN_TEST_STEP_RESULT 0 100 tAuthSvr REMOVE_DBS |
|
343 //RUN_TEST_STEP_RESULT 0 100 tAuthSvr REG_IDENTITY c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0044a |
|
344 //RUN_TEST_STEP_RESULT 0 100 tAuthSvr RETRAIN_PLUGIN c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0044b |
|
345 //RUN_TEST_STEP_RESULT 0 100 tAuthSvr RETRAIN_PLUGIN c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0044c |
|
346 END_TESTCASE SEC-AUT-AUTHSVR-0044 |
|
347 |
|
348 |
|
349 //============================================================ |
|
350 // |
|
351 //! @SYMTestCaseID SEC-AUT-AUTHSVR-0045 |
|
352 //! @SYMTestCaseDesc Attempt to retrain a specified plugin, but a non-unique transient key is generated, prompting |
|
353 //! the retrain to be cancelled |
|
354 //! (RetrainPlug-in5_NonUniqueTransientKey) |
|
355 //! @SYMREQ 4969 4970 4971 4972 4975 4976 4977 4978 |
|
356 //! @SYMTestPriority Medium |
|
357 //! @SYMTestActions Have a default plugin defined, which is active, and a second one which is active as well |
|
358 //! use a client that has ReadDeviceData capability to connect to the AuthServer, |
|
359 //! call the Enumerate Plugins API |
|
360 //! Successfully register a 2nd identity while using a specified PIN input |
|
361 //! Authenticate then call the Train() function. Use the a PIN input that has not been used before |
|
362 //! so that the retrain is cancelled. |
|
363 //! @SYMTestExpectedResults The registration is successful, the authentication fails, and so the retrain are unsuccessful. |
|
364 //! The plugin status is fully trained, then fully trained again |
|
365 //! @SYMDevelopedForRelease Intulo |
|
366 START_TESTCASE SEC-AUT-AUTHSVR-0045 |
|
367 //RUN_TEST_STEP_RESULT 0 100 tAuthSvr REMOVE_DBS |
|
368 //RUN_TEST_STEP_RESULT 0 100 tAuthSvr REG_IDENTITY c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0045a |
|
369 //RUN_TEST_STEP_RESULT 0 100 tAuthSvr RETRAIN_PLUGIN c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0045b |
|
370 END_TESTCASE SEC-AUT-AUTHSVR-0045 |
|
371 |
|
372 |
|
373 //============================================================ |
|
374 // |
|
375 //! @SYMTestCaseID SEC-AUT-AUTHSVR-0046 |
|
376 //! @SYMTestCaseDesc Attempt to retrain a specified plugin, but a cancellation code is entered at the 'retrain' stage |
|
377 //! (RetrainPlug-in6_Cancel) |
|
378 //! @SYMREQ 4969 4970 4971 4972 4975 4976 4977 4978 |
|
379 //! @SYMTestPriority Medium |
|
380 //! @SYMTestActions Have a default plugin defined, which is active, and a second one which is active as well |
|
381 //! use a client that has ReadDeviceData capability to connect to the AuthServer, |
|
382 //! call the Enumerate Plugins API |
|
383 //! Successfully register a 2nd identity while using a specified PIN input |
|
384 //! Authenticate then call the Train() function. Use the a cancellation code as the input |
|
385 //! so that the retrain is cancelled. |
|
386 //! @SYMTestExpectedResults The registration is successful, the authentication fails, and so the retrain are unsuccessful. |
|
387 //! The plugin status is fully trained, then fully trained again |
|
388 //! @SYMDevelopedForRelease Intulo |
|
389 START_TESTCASE SEC-AUT-AUTHSVR-0046 |
|
390 //RUN_TEST_STEP_RESULT 0 100 tAuthSvr REMOVE_DBS |
|
391 //RUN_TEST_STEP_RESULT 0 100 tAuthSvr REG_IDENTITY c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0046a |
|
392 //RUN_TEST_STEP_RESULT 0 100 tAuthSvr RETRAIN_PLUGIN c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0046b |
|
393 END_TESTCASE SEC-AUT-AUTHSVR-0046 |
|
394 |
|
395 |
|
396 //============================================================ |
|
397 // |
|
398 //! @SYMTestCaseID SEC-AUT-AUTHSVR-0047 |
|
399 //! @SYMTestCaseDesc Attempt to retrain a specified plugin, but a Quit code is entered at the 'retrain' stage |
|
400 //! (RetrainPlug-in7_Quit) |
|
401 //! @SYMREQ 4969 4970 4971 4972 4975 4976 4977 4978 |
|
402 //! @SYMTestPriority Medium |
|
403 //! @SYMTestActions Have a default plugin defined, which is active, and a second one which is active as well |
|
404 //! use a client that has ReadDeviceData capability to connect to the AuthServer, |
|
405 //! call the Enumerate Plugins API |
|
406 //! Successfully register a 2nd identity while using a specified PIN input |
|
407 //! Authenticate then call the Train() function. Use the a Quit code as the input |
|
408 //! so that the retrain is quit. |
|
409 //! @SYMTestExpectedResults The registration is successful, the authentication fails, and so the retrain are unsuccessful. |
|
410 //! The plugin status is fully trained, then fully trained again |
|
411 //! @SYMDevelopedForRelease Intulo |
|
412 START_TESTCASE SEC-AUT-AUTHSVR-0047 |
|
413 //RUN_TEST_STEP_RESULT 0 100 tAuthSvr REMOVE_DBS |
|
414 //RUN_TEST_STEP_RESULT 0 100 tAuthSvr REG_IDENTITY c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0047a |
|
415 //RUN_TEST_STEP_RESULT 0 100 tAuthSvr RETRAIN_PLUGIN c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0047b |
|
416 END_TESTCASE SEC-AUT-AUTHSVR-0047 |
|
417 |
|
418 |
|
419 //============================================================ |
|
420 // |
|
421 //! @SYMTestCaseID SEC-AUT-AUTHSVR-0057 |
|
422 //! @SYMTestCaseDesc Successful attempt to retrain a specified plugin, then another. 2nd Authentication required in both cases |
|
423 //! (RetrainPlug-in8_2ndAuthRequired) |
|
424 //! @SYMREQ 4969 4970 4971 4972 4975 4976 4977 4978 |
|
425 //! @SYMTestPriority Medium |
|
426 //! @SYMTestActions Have a default plugin defined, which is active, and a second one which is active as well |
|
427 //! use a client that has ReadDeviceData capability to connect to the AuthServer, |
|
428 //! call the Enumerate Plugins API |
|
429 //! Successfully register a 2nd identity while using a specified PIN input |
|
430 //! Authenticate then call the Train() function on the first plugin. Use the a valid, unique input |
|
431 //! Authtenticate then call the Train function on the second plugin. Use a valid, unique input |
|
432 //! @SYMTestExpectedResults The registration is successful, the 2nd authentication is successful in both cases, |
|
433 //! as well as the retrain calls. |
|
434 //! The plugin status for both plugins is fully trained, then fully trained again |
|
435 //! @SYMDevelopedForRelease Intulo |
|
436 START_TESTCASE SEC-AUT-AUTHSVR-0057 |
|
437 //RUN_TEST_STEP_RESULT 0 100 tAuthSvr REMOVE_DBS |
|
438 //RUN_TEST_STEP_RESULT 0 100 tAuthSvr REG_IDENTITY c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0048a |
|
439 //RUN_TEST_STEP_RESULT 0 100 tAuthSvr RETRAIN_PLUGIN c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0048b |
|
440 //RUN_TEST_STEP_RESULT 0 100 tAuthSvr RETRAIN_PLUGIN c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0048c |
|
441 END_TESTCASE SEC-AUT-AUTHSVR-0057 |
|
442 |
|
443 |
|
444 //============================================================ |
|
445 // |
|
446 //! @SYMTestCaseID SEC-AUT-AUTHSVR-0058 |
|
447 //! @SYMTestCaseDesc Successful attempt to retrain a specified plugin, then another. 2nd Authentication required in both cases |
|
448 //! (RetrainPlug-in8_2ndAuthRequired) |
|
449 //! @SYMREQ 4969 4970 4971 4972 4975 4976 4977 4978 |
|
450 //! @SYMTestPriority Medium |
|
451 //! @SYMTestActions Have a default plugin defined, which is active, and a second one which is active as well |
|
452 //! use a client that has ReadDeviceData capability to connect to the AuthServer, |
|
453 //! call the Enumerate Plugins API |
|
454 //! Successfully register a 2nd identity while using a specified PIN input |
|
455 //! Authenticate then call the Train() function on the first plugin. Use the a valid, unique input |
|
456 //! Authtenticate then call the Train function on the second plugin. Use a valid, unique input |
|
457 //! @SYMTestExpectedResults The registration is successful, the 2nd authentication is successful in both cases, |
|
458 //! as well as the retrain calls. |
|
459 //! The plugin status for both plugins is fully trained, then fully trained again |
|
460 //! @SYMDevelopedForRelease Intulo |
|
461 START_TESTCASE SEC-AUT-AUTHSVR-0058 |
|
462 //RUN_TEST_STEP_RESULT 0 100 tAuthSvr REMOVE_DBS |
|
463 //RUN_TEST_STEP_RESULT 0 100 tAuthSvr REG_IDENTITY c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0048a |
|
464 //RUN_TEST_STEP_RESULT 0 100 tAuthSvr RETRAIN_PLUGIN c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0048b |
|
465 //RUN_TEST_STEP_RESULT 0 100 tAuthSvr RETRAIN_PLUGIN c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0048c |
|
466 END_TESTCASE SEC-AUT-AUTHSVR-0058 |
|
467 |
|
468 //============================================================ |
|
469 // |
|
470 //! @SYMTestCaseID SEC-AUT-AUTHSVR-0061 |
|
471 //! @SYMTestCaseDesc Attempt to add a new authentication method first to one then the second of the |
|
472 //! two present identities |
|
473 //! (AddAuthMethod1_BothIdentities_Normal) |
|
474 //! @SYMREQ 4969 4970 4971 4972 4975 4976 4977 4978 |
|
475 //! @SYMTestPriority Medium |
|
476 //! @SYMTestActions Have a default plugin defined, which is active, and a second one which is inactive |
|
477 //! use a client that has ReadDeviceData capability to connect to the AuthServer, |
|
478 //! call the Enumerate Plugins API |
|
479 //! Successfully register a 2nd identity while using a specified PIN input with the default plugin only |
|
480 //! Authenticate then call the Train() function. Use an identifying input that corresponds to what |
|
481 //! was used to register the default identity using the default plugin. Therefore the default identity |
|
482 //! is returned following the Authentication. The training is then done for the 2nd plugin |
|
483 //! Carry out the same process with the second identity |
|
484 //! @SYMTestExpectedResults The authentication is successful, and the first train call passes. |
|
485 //! but the second train call passes as well |
|
486 //! The plugin status for the second plugin is untrained, trained, then fully trained |
|
487 //! There are 2 identities present after the register identity step |
|
488 //! @SYMDevelopedForRelease Intulo |
|
489 START_TESTCASE SEC-AUT-AUTHSVR-0061 |
|
490 //RUN_TEST_STEP_RESULT 0 100 tAuthSvr REMOVE_DBS |
|
491 //RUN_TEST_STEP_RESULT 0 100 tAuthSvr AUTHENTICATE c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0061Test |
|
492 // RUN_TEST_STEP_RESULT 0 100 tAuthSvr REG_IDENTITY c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0061a |
|
493 // RUN_TEST_STEP_RESULT 0 100 tAuthSvr AUTHSVR_CHECK c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0061b |
|
494 // RUN_TEST_STEP_RESULT 0 100 tAuthSvr RETRAIN_PLUGIN c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0061c |
|
495 // RUN_TEST_STEP_RESULT 0 100 tAuthSvr AUTHSVR_CHECK c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0061d |
|
496 // RUN_TEST_STEP_RESULT 0 100 tAuthSvr RETRAIN_PLUGIN c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0061e |
|
497 // RUN_TEST_STEP_RESULT 0 100 tAuthSvr AUTHSVR_CHECK c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0061f |
|
498 END_TESTCASE SEC-AUT-AUTHSVR-0061 |
|
499 |
|
500 //============================================================ |
|
501 // |
|
502 //! @SYMTestCaseID SEC-AUT-AUTHSVR-0062 |
|
503 //! @SYMTestCaseDesc Attempt to add a new authentication method first to one then the second of the |
|
504 //! two present identities. Authentication fails in both cases. |
|
505 //! (AddAuthMethod2_BothIdentities_AuthFailed) |
|
506 //! @SYMREQ 4969 4970 4971 4972 4975 4976 4977 4978 |
|
507 //! @SYMTestPriority Medium |
|
508 //! @SYMTestActions Have a default plugin defined, which is active, and a second one which is inactive |
|
509 //! use a client that has ReadDeviceData capability to connect to the AuthServer, |
|
510 //! call the Enumerate Plugins API |
|
511 //! Successfully register a 2nd identity while using a specified PIN input with the default plugin only |
|
512 //! Fail to authenticate then try to call the Train() function. Use an identifying input that does not |
|
513 //! corresponds to what was used to register the default identity using the default plugin. Therefore no identity |
|
514 //! is returned following the Authentication. The training is then attempted for the 2nd plugin |
|
515 //! Carry out the same process with the second identity |
|
516 //! @SYMTestExpectedResults The authentication is successful, and the first train call passes. |
|
517 //! but the second train call passes as well |
|
518 //! The plugin status for the second plugin is untrained, trained, then fully trained |
|
519 //! There are 2 identities present after the register identity step |
|
520 //! @SYMDevelopedForRelease Intulo |
|
521 START_TESTCASE SEC-AUT-AUTHSVR-0062 |
|
522 //RUN_TEST_STEP_RESULT 0 100 tAuthSvr REMOVE_DBS |
|
523 //RUN_TEST_STEP_RESULT 0 100 tAuthSvr REG_IDENTITY c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0062a |
|
524 //RUN_TEST_STEP_RESULT 0 100 tAuthSvr AUTHSVR_CHECK c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0062b |
|
525 //RUN_TEST_STEP_RESULT 0 100 tAuthSvr RETRAIN_PLUGIN c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0062c |
|
526 //RUN_TEST_STEP_RESULT 0 100 tAuthSvr AUTHSVR_CHECK c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0062d |
|
527 //RUN_TEST_STEP_RESULT 0 100 tAuthSvr RETRAIN_PLUGIN c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0062e |
|
528 //RUN_TEST_STEP_RESULT 0 100 tAuthSvr AUTHSVR_CHECK c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0062f |
|
529 END_TESTCASE SEC-AUT-AUTHSVR-0062 |
|
530 |
|
531 // //============================================================ |
|
532 // // |
|
533 // //! @SYMTestCaseID SEC-AUT-AUTHSVR-0101 |
|
534 // //! @SYMTestCaseDesc Successful attempt to remove a specified identity |
|
535 // //! (RemoveIdentity1_Normal) |
|
536 // //! @SYMREQ 4964 4965 4966 4954 |
|
537 // //! @SYMTestPriority Medium |
|
538 // //! @SYMTestActions Have a default plugin defined, which is active, and a second one which is active as well |
|
539 // //! use a client that has ReadDeviceData capability to connect to the AuthServer, |
|
540 // //! call the Enumerate Plugins API |
|
541 // //! Successfully register a 2nd identity while using a specified PIN input |
|
542 // //! Authenticate then call the removeIdentity() function. Use the a valid input so that the |
|
543 // //! identity that was recently registered is returned following the Authentication, then removed |
|
544 // //! @SYMTestExpectedResults The registration is successful, the authentication is successful, |
|
545 // //! as well as the removeIdentity call. |
|
546 // //! The plugin status for both plugins is fully trained, then fully trained again |
|
547 // //! @SYMDevelopedForRelease Intulo |
|
548 // START_TESTCASE SEC-AUT-AUTHSVR-0101 |
|
549 RUN_UTILS MKDIR C:\testplugin_active\ |
|
550 // RUN_TEST_STEP_RESULT 0 100 tAuthSvr REMOVE_DBS |
|
551 // RUN_TEST_STEP_RESULT 0 100 tAuthSvr REG_IDENTITY c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0101a |
|
552 // RUN_TEST_STEP_RESULT 0 100 tAuthSvr AUTHENTICATE c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0101b |
|
553 // RUN_TEST_STEP_RESULT 0 100 tAuthSvr REMOVE_IDENTITY c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0101c |
|
554 // RUN_TEST_STEP !Result=Fail 100 tAuthSvr AUTHENTICATE c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0101d |
|
555 // RUN_TEST_STEP_RESULT 0 100 tAuthSvr AUTHSVR_CHECK c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0101c |
|
556 RUN_UTILS DELETEDIRECTORY C:\testplugin_active\ |
|
557 // END_TESTCASE SEC-AUT-AUTHSVR-0101 |
|
558 |
|
559 |
|
560 |
|
561 //============================================================ |
|
562 // |
|
563 //! @SYMTestCaseID SEC-AUT-AUTHSVR-0102 |
|
564 //! @SYMTestCaseDesc Attempt to remove a specified identity when only one identity exists |
|
565 //! (RemoveIdentity2_OneIdentity) |
|
566 //! @SYMREQ 4964 4965 4966 4954 |
|
567 //! @SYMTestPriority Medium |
|
568 //! @SYMTestActions Have a default plugin defined, which is active, and a second one which is active as well |
|
569 //! use a client that has ReadDeviceData capability to connect to the AuthServer, |
|
570 //! call the Enumerate Plugins API |
|
571 //! Authenticate then call the removeIdentity() function. Use an input that corresponds to what |
|
572 //! was used to register the default identity. Therefore the default identity is returned |
|
573 //! following the Authentication, then attempt to remove it |
|
574 //! @SYMTestExpectedResults The authentication is successful, but the removeIdentity call fails |
|
575 //! The plugin status for the specified plugin is fully trained, then fully trained again |
|
576 //! @SYMDevelopedForRelease Intulo |
|
577 START_TESTCASE SEC-AUT-AUTHSVR-0102 |
|
578 //RUN_TEST_STEP_RESULT 0 100 tAuthSvr REMOVE_DBS |
|
579 //RUN_TEST_STEP !Error=-10811 100 tAuthSvr REMOVE_IDENTITY c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0102b |
|
580 //RUN_TEST_STEP_RESULT 0 100 tAuthSvr AUTHSVR_CHECK c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0102b |
|
581 END_TESTCASE SEC-AUT-AUTHSVR-0102 |
|
582 |
|
583 |
|
584 //============================================================ |
|
585 // |
|
586 //! @SYMTestCaseID SEC-AUT-AUTHSVR-0103 |
|
587 //! @SYMTestCaseDesc Attempt to remove a specified identity when only one identity exists |
|
588 //! (RemoveIdentity3_NonExistentIdentity) |
|
589 //! @SYMREQ 4964 4965 4966 4954 |
|
590 //! @SYMTestPriority Medium |
|
591 //! @SYMTestActions Have a default plugin defined, which is active, and a second one which is active as well |
|
592 //! use a client that has ReadDeviceData capability to connect to the AuthServer, |
|
593 //! call the Enumerate Plugins API |
|
594 //! Successfully register a 2nd identity while using a specified PIN input |
|
595 //! Authenticate then call the removeIdentity() function. Use an input that corresponds to what |
|
596 //! was used to register the 2nd identity. Therefore the 2nd identity is returned |
|
597 //! following the Authentication. Remove this second identity then attempt to remove it again |
|
598 //! @SYMTestExpectedResults The authentication is successful, and the first removeIdentity call passes. |
|
599 //! but the second removeIdentity call fails because there's only 1 identity left |
|
600 //! The plugin status for the specified plugin is fully trained, then fully trained again |
|
601 //! There's 1 identity present after the 2 removeIdentity calls |
|
602 //! @SYMDevelopedForRelease Intulo |
|
603 START_TESTCASE SEC-AUT-AUTHSVR-0103 |
|
604 RUN_UTILS MKDIR C:\testplugin_active\ |
|
605 //RUN_TEST_STEP_RESULT 0 100 tAuthSvr REMOVE_DBS |
|
606 //RUN_TEST_STEP_RESULT 0 100 tAuthSvr REG_IDENTITY c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0103a |
|
607 //RUN_TEST_STEP !Error=-10811 100 tAuthSvr REMOVE_IDENTITY c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0103b |
|
608 //RUN_TEST_STEP_RESULT 0 100 tAuthSvr AUTHSVR_CHECK c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0103b |
|
609 RUN_UTILS DELETEDIRECTORY C:\testplugin_active\ |
|
610 END_TESTCASE SEC-AUT-AUTHSVR-0103 |
|
611 |
|
612 |
|
613 //============================================================ |
|
614 // |
|
615 //! @SYMTestCaseID SEC-AUT-AUTHSVR-0104 |
|
616 //! @SYMTestCaseDesc Attempt to remove a specified identity but the authentication fails |
|
617 //! (RemoveIdentity4_AuthFailed) |
|
618 //! @SYMREQ 4964 4965 4966 4954 |
|
619 //! @SYMTestPriority Medium |
|
620 //! @SYMTestActions Have a default plugin defined, which is active, and a second one which is active as well |
|
621 //! use a client that has ReadDeviceData capability to connect to the AuthServer, |
|
622 //! call the Enumerate Plugins API |
|
623 //! Successfully register a 2nd identity while using a specified PIN input |
|
624 //! Authenticate then call the removeIdentity() function. Use an input that doesn't correspond |
|
625 //! to what was used to register the 2nd identity. Therefore no identity is returned |
|
626 //! following the Authentication. Attempt to remove this absent identity. |
|
627 //! @SYMTestExpectedResults The authentication fails, and the removeIdentity call fails. |
|
628 //! because there is no such identity in the authentication server. |
|
629 //! The plugin status for the specified plugin is fully trained, then fully trained again |
|
630 //! There's 1 identity present after the 2 removeIdentity calls |
|
631 //! @SYMDevelopedForRelease Intulo |
|
632 START_TESTCASE SEC-AUT-AUTHSVR-0104 |
|
633 //RUN_TEST_STEP_RESULT 0 100 tAuthSvr REMOVE_DBS |
|
634 //RUN_TEST_STEP_RESULT 0 100 tAuthSvr REG_IDENTITY c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0104a |
|
635 //RUN_TEST_STEP !Error=-10808 100 tAuthSvr REMOVE_IDENTITY c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0104b |
|
636 //RUN_TEST_STEP_RESULT 0 100 tAuthSvr AUTHSVR_CHECK c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0104b |
|
637 END_TESTCASE SEC-AUT-AUTHSVR-0104 |
|
638 |
|
639 |
|
640 // //============================================================ |
|
641 // // |
|
642 // //! @SYMTestCaseID SEC-AUT-AUTHSVR-0105 |
|
643 // //! @SYMTestCaseDesc Attempt to remove a specified identity when only one identity exists |
|
644 // //! (RemoveIdentity5_NonExistentIdentity_TwoOthersExist) |
|
645 // //! @SYMREQ 4964 4965 4966 4954 |
|
646 // //! @SYMTestPriority Medium |
|
647 // //! @SYMTestActions Have a default plugin defined, which is active, and a second one which is active as well |
|
648 // //! use a client that has ReadDeviceData capability to connect to the AuthServer, |
|
649 // //! call the Enumerate Plugins API |
|
650 // //! Successfully register a 2nd identity while using a specified PIN input |
|
651 // //! Successfully register a 3rd identity while using a specified PIN input |
|
652 // //! Authenticate then call the removeIdentity() function. Use an input that corresponds to what |
|
653 // //! was used to register the 2nd identity. Therefore the 2nd identity is returned |
|
654 // //! following the Authentication. Remove this second identity then attempt to remove it again |
|
655 // //! @SYMTestExpectedResults The authentication is successful, and the first removeIdentity call passes. |
|
656 // //! but the second removeIdentity call fails because an unknown identity was specified |
|
657 // //! The plugin status for the specified plugin is fully trained, then fully trained again |
|
658 // //! There are 2 identities present after the 2 removeIdentity calls |
|
659 // //! @SYMDevelopedForRelease Intulo |
|
660 // START_TESTCASE SEC-AUT-AUTHSVR-0105 |
|
661 // RUN_TEST_STEP_RESULT 0 100 tAuthSvr REMOVE_DBS |
|
662 // RUN_TEST_STEP_RESULT 0 100 tAuthSvr REG_IDENTITY c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0105a |
|
663 // RUN_TEST_STEP_RESULT 0 100 tAuthSvr REG_IDENTITY c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0105b |
|
664 // RUN_TEST_STEP !Error=-10808 100 tAuthSvr REMOVE_IDENTITY c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0105c |
|
665 // RUN_TEST_STEP_RESULT 0 100 tAuthSvr AUTHSVR_CHECK c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0105c |
|
666 // END_TESTCASE SEC-AUT-AUTHSVR-0105 |
|
667 //============================================================ |
|
668 // |
|
669 //! @SYMTestCaseID SEC-AUT-AUTHSVR-0121 |
|
670 //! @SYMTestCaseDesc A user successfully removes an authentication plug-in trained for their identity |
|
671 //! (ForgetPlug-in1_Normal) |
|
672 //! @SYMREQ REQ4964 REQ4965 REQ4966 REQ4954 |
|
673 //! @SYMTestPriority Medium |
|
674 //! @SYMTestActions |
|
675 //! @SYMTestExpectedResults |
|
676 //! @SYMDevelopedForRelease Intulo |
|
677 START_TESTCASE SEC-AUT-AUTHSVR-0121 |
|
678 RUN_TEST_STEP_RESULT 0 100 tAuthSvr REMOVE_DBS |
|
679 RUN_TEST_STEP_RESULT 0 100 tAuthSvr REG_IDENTITY c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0121b |
|
680 RUN_TEST_STEP_RESULT 0 100 tAuthSvr AUTHENTICATE c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0121a |
|
681 RUN_TEST_STEP_RESULT 0 100 tAuthSvr FORGET_PLUGIN c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0121c |
|
682 RUN_TEST_STEP !RESULT=Fail 100 tAuthSvr AUTHENTICATE c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0121d |
|
683 END_TESTCASE SEC-AUT-AUTHSVR-0121 |
|
684 |
|
685 /============================================================ |
|
686 // |
|
687 //! @SYMTestCaseID SEC-AUT-AUTHSVR-0122 |
|
688 //! @SYMTestCaseDesc A user attempts to remove an auth plug-in trained for their identity, but there's only a single auth method for the identity. |
|
689 //! (ForgetPlug-in1_LastPlugin) |
|
690 //! @SYMREQ REQ4964 REQ4965 REQ4966 REQ4954 |
|
691 //! @SYMTestPriority Medium |
|
692 //! @SYMTestActions |
|
693 //! @SYMTestExpectedResults |
|
694 //! @SYMDevelopedForRelease Intulo |
|
695 START_TESTCASE SEC-AUT-AUTHSVR-0122 |
|
696 RUN_TEST_STEP_RESULT 0 100 tAuthSvr REMOVE_DBS |
|
697 RUN_TEST_STEP_RESULT 0 100 tAuthSvr REG_IDENTITY c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0122b |
|
698 RUN_TEST_STEP_RESULT 0 100 tAuthSvr AUTHENTICATE c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0122a |
|
699 RUN_TEST_STEP !RESULT=Fail 100 tAuthSvr FORGET_PLUGIN c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0122c |
|
700 RUN_TEST_STEP_RESULT 0 100 tAuthSvr AUTHENTICATE c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0122a |
|
701 END_TESTCASE SEC-AUT-AUTHSVR-0122 |
|
702 /============================================================ |
|
703 // |
|
704 //! @SYMTestCaseID SEC-AUT-AUTHSVR-0123 |
|
705 //! @SYMTestCaseDesc A user attempts to remove an auth plug-in, but the identity has no transient key associated with this plug-in |
|
706 //! (ForgetUntrainedAuthMethod) |
|
707 //! @SYMREQ REQ4964 REQ4965 REQ4966 REQ4954 |
|
708 //! @SYMTestPriority Medium |
|
709 //! @SYMTestActions |
|
710 //! @SYMTestExpectedResults |
|
711 //! @SYMDevelopedForRelease Intulo |
|
712 START_TESTCASE SEC-AUT-AUTHSVR-0123 |
|
713 RUN_TEST_STEP_RESULT 0 100 tAuthSvr REMOVE_DBS |
|
714 RUN_TEST_STEP_RESULT 0 100 tAuthSvr REG_IDENTITY c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0123b |
|
715 RUN_TEST_STEP_RESULT 0 100 tAuthSvr AUTHENTICATE c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0123a |
|
716 RUN_TEST_STEP !RESULT=Fail 100 tAuthSvr FORGET_PLUGIN c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0123c |
|
717 RUN_TEST_STEP_RESULT 0 100 tAuthSvr AUTHENTICATE c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0123a |
|
718 END_TESTCASE SEC-AUT-AUTHSVR-0123 |
|
719 |
|
720 /============================================================ |
|
721 // |
|
722 //! @SYMTestCaseID SEC-AUT-AUTHSVR-0124 |
|
723 //! @SYMTestCaseDesc A user attempts to remove an auth plug-in, but the plugin does not exist |
|
724 //! (ForgetUnknownPlugin) |
|
725 //! @SYMREQ REQ4964 REQ4965 REQ4966 REQ4954 |
|
726 //! @SYMTestPriority Medium |
|
727 //! @SYMTestActions |
|
728 //! @SYMTestExpectedResults |
|
729 //! @SYMDevelopedForRelease Intulo |
|
730 START_TESTCASE SEC-AUT-AUTHSVR-0124 |
|
731 RUN_TEST_STEP_RESULT 0 100 tAuthSvr REMOVE_DBS |
|
732 RUN_TEST_STEP_RESULT 0 100 tAuthSvr REG_IDENTITY c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0124b |
|
733 RUN_TEST_STEP_RESULT 0 100 tAuthSvr AUTHENTICATE c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0124a |
|
734 RUN_TEST_STEP !RESULT=Fail 100 tAuthSvr FORGET_PLUGIN c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0124c |
|
735 RUN_TEST_STEP_RESULT 0 100 tAuthSvr AUTHENTICATE c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0124a |
|
736 END_TESTCASE SEC-AUT-AUTHSVR-0124 |
|
737 |
|
738 /============================================================ |
|
739 // |
|
740 //! @SYMTestCaseID SEC-AUT-AUTHSVR-0125 |
|
741 //! @SYMTestCaseDesc A user attempts to remove an auth plug-in, but the identity specified does not exist |
|
742 //! (ForgetUnknownIdentity) |
|
743 //! @SYMREQ REQ4964 REQ4965 REQ4966 REQ4954 |
|
744 //! @SYMTestPriority Medium |
|
745 //! @SYMTestActions |
|
746 //! @SYMTestExpectedResults |
|
747 //! @SYMDevelopedForRelease Intulo |
|
748 START_TESTCASE SEC-AUT-AUTHSVR-0125 |
|
749 RUN_TEST_STEP_RESULT 0 100 tAuthSvr REMOVE_DBS |
|
750 RUN_TEST_STEP !RESULT=Fail 100 tAuthSvr FORGET_PLUGIN c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0125 |
|
751 END_TESTCASE SEC-AUT-AUTHSVR-0125 |
|
752 |
|
753 |
|
754 //============================================================ |
|
755 // |
|
756 //! @SYMTestCaseID SEC-AUT-AUTHSVR-0141 |
|
757 //! @SYMTestCaseDesc Auth preferences are set correctly. |
|
758 //! (SetPreference_Success) |
|
759 //! @SYMREQ REQ4983 REQ4973 REQ4966 REQ4967 REQ4968 |
|
760 //! @SYMTestPriority Medium |
|
761 //! @SYMTestActions |
|
762 //! @SYMTestExpectedResults |
|
763 //! @SYMDevelopedForRelease Intulo |
|
764 START_TESTCASE SEC-AUT-AUTHSVR-0141 |
|
765 RUN_TEST_STEP_RESULT 0 100 tAuthSvr REMOVE_DBS |
|
766 RUN_TEST_STEP_RESULT 0 100 tAuthSvr REG_IDENTITY c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0141 |
|
767 RUN_TEST_STEP_RESULT 0 100 tAuthSvr SET_PREFS c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0141 |
|
768 RUN_TEST_STEP_RESULT 0 100 tAuthSvr AUTHENTICATE c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0141 |
|
769 END_TESTCASE SEC-AUT-AUTHSVR-0141 |
|
770 |
|
771 //============================================================ |
|
772 // |
|
773 //! @SYMTestCaseID SEC-AUT-AUTHSVR-0142 |
|
774 //! @SYMTestCaseDesc An Auth preference is set with an invalid plug-in |
|
775 //! (SetPreference_Success) |
|
776 //! @SYMREQ REQ4964 REQ4965 REQ4966 REQ4954 |
|
777 //! @SYMTestPriority Medium |
|
778 //! @SYMTestActions |
|
779 //! @SYMTestExpectedResults |
|
780 //! @SYMDevelopedForRelease Intulo |
|
781 START_TESTCASE SEC-AUT-AUTHSVR-0142 |
|
782 RUN_TEST_STEP_RESULT 0 100 tAuthSvr REMOVE_DBS |
|
783 RUN_TEST_STEP_RESULT 0 100 tAuthSvr REG_IDENTITY c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0142 |
|
784 RUN_TEST_STEP_RESULT 0 100 tAuthSvr SET_PREFS c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0142 |
|
785 RUN_TEST_STEP !Error=-10802 100 tAuthSvr AUTHENTICATE c:\tauth\tAuthSvr\scripts\tauthsvr3.ini Test0142 |
|
786 END_TESTCASE SEC-AUT-AUTHSVR-0142 |
|