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