|
1 /* |
|
2 * Copyright (c) 2001-2006 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: EAP and WLAN authentication protocols. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // This is enumeration of EAPOL source code. |
|
20 #if defined(USE_EAP_MINIMUM_RELEASE_TRACES) |
|
21 #undef EAP_FILE_NUMBER_ENUM |
|
22 #define EAP_FILE_NUMBER_ENUM 435 |
|
23 #undef EAP_FILE_NUMBER_DATE |
|
24 #define EAP_FILE_NUMBER_DATE 1127594498 |
|
25 #endif //#if defined(USE_EAP_MINIMUM_RELEASE_TRACES) |
|
26 |
|
27 #include <EapTlsPeapUiTlsPeapData.h> |
|
28 |
|
29 |
|
30 CEapTlsPeapUiTlsPeapData::CEapTlsPeapUiTlsPeapData() |
|
31 : iAllowVersion0(EFalse), |
|
32 iAllowVersion1(EFalse), |
|
33 iAllowVersion2(EFalse), |
|
34 iPapPasswordPrompt( ETrue ) |
|
35 { |
|
36 } |
|
37 |
|
38 |
|
39 CEapTlsPeapUiTlsPeapData::~CEapTlsPeapUiTlsPeapData() |
|
40 { |
|
41 } |
|
42 |
|
43 |
|
44 TDes& CEapTlsPeapUiTlsPeapData::GetManualUsername() |
|
45 { |
|
46 return iManualUsername; |
|
47 } |
|
48 |
|
49 TBool * CEapTlsPeapUiTlsPeapData::GetUseManualUsername() |
|
50 { |
|
51 return &iUseManualUsername; |
|
52 } |
|
53 |
|
54 TDes& CEapTlsPeapUiTlsPeapData::GetManualRealm() |
|
55 { |
|
56 return iManualRealm; |
|
57 } |
|
58 |
|
59 |
|
60 TBool * CEapTlsPeapUiTlsPeapData::GetUseManualRealm() |
|
61 { |
|
62 return &iUseManualRealm; |
|
63 } |
|
64 |
|
65 TBool * CEapTlsPeapUiTlsPeapData::GetAllowVersion0() |
|
66 { |
|
67 return &iAllowVersion0; |
|
68 } |
|
69 |
|
70 TBool * CEapTlsPeapUiTlsPeapData::GetAllowVersion1() |
|
71 { |
|
72 return &iAllowVersion1; |
|
73 } |
|
74 |
|
75 TBool * CEapTlsPeapUiTlsPeapData::GetAllowVersion2() |
|
76 { |
|
77 return &iAllowVersion2; |
|
78 } |
|
79 |
|
80 TBool * CEapTlsPeapUiTlsPeapData::GetTlsPrivacy() |
|
81 { |
|
82 return &iTlsPrivacy; |
|
83 } |
|
84 |
|
85 TBool * CEapTlsPeapUiTlsPeapData::GetAuthProvModeAllowed() |
|
86 { |
|
87 return &iAuthProvModeAllowed; |
|
88 } |
|
89 |
|
90 TBool * CEapTlsPeapUiTlsPeapData::GetUnauthProvModeAllowed() |
|
91 { |
|
92 return &iUnauthProvModeAllowed; |
|
93 } |
|
94 |
|
95 TDes& CEapTlsPeapUiTlsPeapData::GetPacStorePassword() |
|
96 { |
|
97 return iPacStorePassword; |
|
98 } |
|
99 |
|
100 |
|
101 // --------------------------------------------------------- |
|
102 // CEapTlsPeapUiTlsPeapData::GetPapUserName() |
|
103 // --------------------------------------------------------- |
|
104 // |
|
105 TDes& CEapTlsPeapUiTlsPeapData::GetPapUserName() |
|
106 { |
|
107 return iPapUserName; |
|
108 } |
|
109 |
|
110 // --------------------------------------------------------- |
|
111 // CEapTlsPeapUiTlsPeapData::GetPapPassword() |
|
112 // --------------------------------------------------------- |
|
113 // |
|
114 TDes& CEapTlsPeapUiTlsPeapData::GetPapPassword() |
|
115 { |
|
116 return iPapPassword; |
|
117 } |
|
118 |
|
119 // --------------------------------------------------------- |
|
120 // CEapTlsPeapUiTlsPeapData::GetPapPasswordPrompt() |
|
121 // --------------------------------------------------------- |
|
122 // |
|
123 TBool* CEapTlsPeapUiTlsPeapData::GetPapPasswordPrompt() |
|
124 { |
|
125 return &iPapPasswordPrompt; |
|
126 } |
|
127 |
|
128 // End of file |