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 START_TESTCASE SEC-AUTHENTICATE_USEAUTH-0001 |
|
18 |
|
19 //! @SYMTestCaseID SEC-AUTHENTICATE_USEAUTH-0001 |
|
20 |
|
21 //! @SYMTestCaseDesc ////////////////////////////////////////////////////////////////////////////////// |
|
22 |
|
23 //! Adding a key |
|
24 |
|
25 //! ////////////////////////////////////////////////////////////////////////////////// |
|
26 |
|
27 //! The action name now bears, when relevant, the TEST ID which will help map the |
|
28 |
|
29 //! resulting log to the DLRs, a mapping of these (TEST IDs to REQ number) can be found in |
|
30 |
|
31 //! "V:\Dev\GT\GT 0140 Security\Test and Integration\Test Specifications\DLR mappings\keystore.xls" |
|
32 |
|
33 //! @SYMTestActions 1) Delete keystore data file |
|
34 |
|
35 //! 2) 1.0.0.0.2,Opening key store 2 in manager mode |
|
36 |
|
37 //! 3) 1.0.0.1.0,Add a key (TEST ID: GT0140-KEY002 and GT0140-KEY003) |
|
38 |
|
39 //! 4) 1.0.0.1.1,List all keys (TEST ID: INC103084-KEY001) |
|
40 |
|
41 //! 5) 1.0.0.2,Get it again |
|
42 |
|
43 //! 6) Set a new authentication policy for a key with which the user is not registered |
|
44 |
|
45 //! 7) Gets authentication policy for a key |
|
46 |
|
47 //! 8) 6.2.1, Set cheeku's use policy based on SID and capabilities |
|
48 |
|
49 //! 9) 6.2.7.4, Set cheeku's management policy based on just capabilities |
|
50 |
|
51 //! 10) 1.4.4.999, Delete everything |
|
52 |
|
53 //! 11) 1.4.999.1,Closing key store |
|
54 |
|
55 //! 12) 1.4.999.2, Sleep 5 seconds |
|
56 |
|
57 //! 13) 1.4.999.3, Check for server heap error |
|
58 |
|
59 RUN_TEST_STEP -1 CTestHandler deletekeystoredata |
|
60 |
|
61 RUN_TEST_STEP -1 CTestHandler init authenticate_useauth.ini SEC-AUTHENTICATE_USEAUTH-0001-002 |
|
62 |
|
63 RUN_TEST_STEP -1 CTestHandler addkey authenticate_useauth.ini SEC-AUTHENTICATE_USEAUTH-0001-003 |
|
64 |
|
65 RUN_TEST_STEP -1 CTestHandler listallkeys authenticate_useauth.ini SEC-AUTHENTICATE_USEAUTH-0001-004 |
|
66 |
|
67 RUN_TEST_STEP -1 CTestHandler getkeyinfo authenticate_useauth.ini SEC-AUTHENTICATE_USEAUTH-0001-005 |
|
68 |
|
69 RUN_TEST_STEP -1 CTestHandler authenticationpolicy authenticate_useauth.ini SEC-AUTHENTICATE_USEAUTH-0001-006 |
|
70 |
|
71 RUN_TEST_STEP -1 CTestHandler authenticationpolicy authenticate_useauth.ini SEC-AUTHENTICATE_USEAUTH-0001-007 |
|
72 |
|
73 RUN_TEST_STEP -1 CTestHandler setusepolicy authenticate_useauth.ini SEC-AUTHENTICATE_USEAUTH-0001-008 |
|
74 |
|
75 RUN_TEST_STEP -1 CTestHandler setmanagementpolicy authenticate_useauth.ini SEC-AUTHENTICATE_USEAUTH-0001-009 |
|
76 |
|
77 RUN_TEST_STEP -1 CTestHandler deletekeys authenticate_useauth.ini SEC-AUTHENTICATE_USEAUTH-0001-010 |
|
78 |
|
79 RUN_TEST_STEP -1 CTestHandler delete |
|
80 |
|
81 RUN_TEST_STEP -1 CTestHandler sleep authenticate_useauth.ini SEC-AUTHENTICATE_USEAUTH-0001-012 |
|
82 |
|
83 RUN_TEST_STEP -1 CTestHandler checkserverheaperror |
|
84 |
|
85 END_TESTCASE SEC-AUTHENTICATE_USEAUTH-0001 |
|
86 |
|
87 |
|
88 |
|
89 |
|
90 |
|