equal
deleted
inserted
replaced
14 * Description: EAP Authentication Notifier |
14 * Description: EAP Authentication Notifier |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 /* |
18 /* |
19 * %version: 15 % |
19 * %version: 19 % |
20 */ |
20 */ |
21 |
21 |
22 #ifndef __EAPAUTHNOTIFIER_H__ |
22 #ifndef __EAPAUTHNOTIFIER_H__ |
23 #define __EAPAUTHNOTIFIER_H__ |
23 #define __EAPAUTHNOTIFIER_H__ |
24 |
24 |
53 * |
53 * |
54 * @param aStatus status |
54 * @param aStatus status |
55 * return - |
55 * return - |
56 */ |
56 */ |
57 virtual void DlgComplete( TInt aStatus ) = 0; |
57 virtual void DlgComplete( TInt aStatus ) = 0; |
58 }; |
58 |
|
59 /** |
|
60 * Check if masterkey and password match |
|
61 * |
|
62 * @param aPassword8 user entered password |
|
63 * return true/false |
|
64 */ |
|
65 |
|
66 virtual TBool IsMasterKeyAndPasswordMatchingL( |
|
67 const TDesC16 & aPassword) = 0; |
|
68 }; |
59 |
69 |
60 /** |
70 /** |
61 * EAP Notifier |
71 * EAP Notifier |
62 */ |
72 */ |
63 NONSHARABLE_CLASS ( CEapAuthNotifier ): public CBase |
73 NONSHARABLE_CLASS ( CEapAuthNotifier ): public CBase |
163 * @param aPasswordInfo old password |
173 * @param aPasswordInfo old password |
164 * return - |
174 * return - |
165 */ |
175 */ |
166 void SetSelectedOldPassword( |
176 void SetSelectedOldPassword( |
167 TEapDialogInfo& aPasswordInfo ); |
177 TEapDialogInfo& aPasswordInfo ); |
|
178 |
|
179 /** |
|
180 * Checks the selected password of the presented dialog |
|
181 * |
|
182 * @param aPasswordInfo password |
|
183 * return TRUE or FALSE |
|
184 */ |
|
185 TBool CheckPasswordMatchingL( TEapDialogInfo& aPasswordInfo ); |
|
186 |
|
187 /** |
|
188 * Updates the parameters of the presented dialog |
|
189 * |
|
190 * @param aIsPwdCorrect indicates if pwd data was correct |
|
191 * return - |
|
192 */ |
|
193 void UpdateDialogL( TBool aIsPwdCorrect ); |
168 |
194 |
169 private: |
195 private: |
170 /** |
196 /** |
171 * Constructor |
197 * Constructor |
172 */ |
198 */ |
249 */ |
275 */ |
250 void SetPasswordQueryDataL( |
276 void SetPasswordQueryDataL( |
251 TEapExpandedType& aEapType, |
277 TEapExpandedType& aEapType, |
252 CHbSymbianVariantMap* aMap, |
278 CHbSymbianVariantMap* aMap, |
253 const TDesC& aAuthMethod ); |
279 const TDesC& aAuthMethod ); |
254 |
280 |
|
281 |
255 private: // Data |
282 private: // Data |
256 |
283 |
257 /** |
284 /** |
258 * For callback |
285 * For callback |
259 */ |
286 */ |