remotemgmt_plat/policy_management_request_api/inc/PolicyEngineXACML.h
changeset 0 b497e44ab2fc
child 5 3f7d9dbe57c8
equal deleted inserted replaced
-1:000000000000 0:b497e44ab2fc
       
     1 /*
       
     2 * Copyright (c) 2000 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 "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:  Define constant values for XACML elements which are used from client side
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef POLICY_ENGINE_XACML_HEADER__
       
    20 #define POLICY_ENGINE_XACML_HEADER__
       
    21 
       
    22 namespace PolicyEngineXACML
       
    23 {
       
    24 	//Attributes
       
    25 	_LIT8( KActionId,							"urn:oasis:names:tc:xacml:1.0:action:action-id");
       
    26 	_LIT8( KSubjectId,							"urn:oasis:names:tc:xacml:1.0:subject:subject-id");
       
    27 	_LIT8( KResourceId,							"urn:oasis:names:tc:xacml:1.0:resource:resource-id");
       
    28 	_LIT8( KTrustedSubject,						"trusted_subject");
       
    29 	
       
    30 	//Certifiacte mapping attribute ids
       
    31 	_LIT8( KCertificate,						"certificate_id");	
       
    32 	_LIT8( KCertificateMapped,					"mapped_certificate_id");	
       
    33 	_LIT8( KAliasId,							"alias_id");
       
    34 	_LIT8( KRoleId,								"urn:nokia:names:s60:corporate:1.0:subject:role_id");						
       
    35 	
       
    36 	//Predefined datatypes and values
       
    37 	_LIT8( KStringDataType,						"http://www.w3.org/2001/XMLSchema#string");
       
    38 	_LIT8( KBooleanTrue,						"http://www.w3.org/2001/XMLSchema#true");
       
    39 	_LIT8( KBooleanFalse,						"http://www.w3.org/2001/XMLSchema#false");
       
    40 	_LIT8( KBooleanDataType,					"http://www.w3.org/2001/XMLSchema#boolean");	
       
    41 
       
    42 	//Prefefined roles
       
    43 	_LIT8( KRoleCorporate,						"trustedadmin");
       
    44 
       
    45 	//predefined resources
       
    46 	_LIT8( KCustomizationManagement,			"CustomizationManagement");
       
    47 	_LIT8( KApplicationManagement,				"ApplicationManagement");
       
    48 	_LIT8( KTerminalSecurityManagement,			"TerminalSecurityManagement");
       
    49 	_LIT8( KTerminalSecurityAPIAccess,			"TerminalSecurityAPIAccess");
       
    50 	_LIT8( KEMailEnforcement,					"EMailEnforcement");
       
    51 	_LIT8( KSyncMLEnforcement,					"SyncMLEnforcement");
       
    52 	_LIT8( KDataSyncEnforcement,				"DataSyncEnforcement");
       
    53 	_LIT8( KAccessPointEnforcement,				"AccessPointEnforcement");
       
    54 	_LIT8( KWLANEnforcement,					"WLANEnforcement");
       
    55 	_LIT8( KInstantMessagingEnforcemnt,			"InstantMessagingEnforcemnt");
       
    56 	_LIT8( KThirdPartySecureIds, 				"ThirdPartySecureIds");
       
    57 	_LIT8( KDeviceLockPasscodeVisibility,		"DeviceLockPasscodeVisibility");
       
    58 		
       
    59 }
       
    60 
       
    61 #endif