eapol/eapol_framework/eapol_symbian/am/type/symbian/plugin/include/EapPluginDbDefaults.h
branchRCL_3
changeset 46 c74b3d9f6b9e
parent 45 bad0cc58d154
child 55 9c2aa05919d9
equal deleted inserted replaced
45:bad0cc58d154 46:c74b3d9f6b9e
     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 * %version: 7 %
       
    20 */
       
    21 
       
    22 #if !defined(_EAPPLUGINDBDEFAULTS_H_)
       
    23 #define _EAPPLUGINDBDEFAULTS_H_
       
    24 
       
    25 enum TEapDbBoolean 
       
    26 {
       
    27 	EEapDbFalse,
       
    28 	EEapDbTrue,
       
    29 	EEapDbNotValid, // This indicates that the value is not configured.
       
    30 };
       
    31 
       
    32 // LOCAL CONSTANTS
       
    33 
       
    34 _LIT(KEapSecureUIDFormat, "SECURE[102072e9]"); // For the security policy.
       
    35 
       
    36 const TUint default_EAP_password_prompt = EEapDbTrue;
       
    37 
       
    38 _LIT(default_EAP_identity, "");
       
    39 _LIT(default_EAP_username, "");
       
    40 _LIT(default_EAP_realm, "");
       
    41 _LIT(default_EAP_password, "");
       
    42 
       
    43 _LIT(KNullPasswordData, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00");
       
    44 
       
    45 const TInt64 default_MaxSessionTime = 0; // 0 means read from configuration file.
       
    46 const TInt64 default_FullAuthTime = 0;
       
    47 
       
    48 const TUint KMaxIdentityLengthInDB = 255;
       
    49 const TUint KMaxUsernameLengthInDB = 255;
       
    50 const TUint KMaxRealmLengthInDB    = 255;
       
    51 const TUint KMaxPasswordLengthInDB = 255;
       
    52 
       
    53 #if !defined(USE_EAP_FILECONFIG)
       
    54 	const TInt default_EAP_TRACE_disable_traces = 0;
       
    55 	const TInt default_EAP_TRACE_enable_function_traces = 0;
       
    56 	const TInt default_EAP_TRACE_only_trace_messages = 0;
       
    57 	const TInt default_EAP_TRACE_only_test_vectors = 0;
       
    58 	const TInt default_EAP_CORE_session_timeout = 120000; // ms = 120 seconds = 2 minutes.
       
    59 	const TInt default_EAP_ERROR_TEST_enable_random_errors = 0;
       
    60 	const TInt default_EAP_ERROR_TEST_send_original_packet_first = 0;
       
    61 	const TInt default_EAP_ERROR_TEST_generate_multiple_error_packets = 2;
       
    62 	const TInt default_EAP_ERROR_TEST_manipulate_ethernet_header = 0;
       
    63 	const TInt default_EAP_ERROR_TEST_error_probability = 8000000;
       
    64 	const TInt default_EAP_test_default_type = 18; // EAP-SIM
       
    65 	const TInt default_EAP_CORE_retransmission_counter = 0;
       
    66 #endif //#if !defined(USE_EAP_FILECONFIG)
       
    67 
       
    68 #endif // _EAPPLUGINDBDEFAULTS_H_
       
    69 
       
    70 
       
    71 // End of file