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 PRINT Authentication Server tests... |
|
18 |
|
19 // Prepare a clone of TAuthSvr to possess authserver's SID. |
|
20 // This is required for modifying the authserver's central repository file. |
|
21 // This clone must be deleted at the end of the test. |
|
22 |
|
23 LOAD_SUITE tAuthSvr |
|
24 |
|
25 // |
|
26 //! @SYMTestCaseID SEC-FSTOKEN-KEYSTORE-0002 |
|
27 //! @SYMTestCaseDesc An authclient successfully authenticates where the user specifies the auth method |
|
28 //! given that no preferred method exists |
|
29 //! (Authenticate13_UserSelectsMethod) |
|
30 //! |
|
31 //! @SYMTestPriority Medium |
|
32 //! @SYMTestActions Have 3 plugins that support default data and are active, all trained with the default identity |
|
33 //! and a second identity |
|
34 //! Call authenticate, expecting the 2nd identity with a freshness of 0 seconds and an auth expression |
|
35 //! of (2nd OR 3rd plugin). Supply correct input for the 3rd plugin, but wrong info for the 2nd plugin |
|
36 //! Call authenticate, expecting the 2nd identity with a freshness of 300 seconds and an auth |
|
37 //! expression of (Default AND 2nd plugin). Supply wrong input for the 2nd plugin and the default plugin |
|
38 //! @SYMTestExpectedResults All plugins are successfully registered. |
|
39 //! |
|
40 //! @SYMDevelopedForRelease Intulo |
|
41 |
|
42 START_TESTCASE SEC-FSTOKEN-KEYSTORE-0001 |
|
43 RUN_TEST_STEP !Result=0 100 tAuthSvr REG_IDENTITY c:\tkeystore\scripts\registration.ini RegisterSecond |
|
44 END_TESTCASE SEC-FSTOKEN-KEYSTORE-0001 |
|
45 |
|
46 |
|
47 START_TESTCASE Remove_PinPlugin_Data |
|
48 RUN_UTILS DeleteFile C:\pinplugin_inactive.txt |
|
49 RUN_UTILS DeleteFile C:\t_pinplugindlg_in.dat |
|
50 RUN_UTILS DeleteFile C:\t_pinplugindlg_out.dat |
|
51 END_TESTCASE Remove_PinPlugin_Data |
|
52 |
|
53 |
|