--- a/omaprovisioning/provisioning/Group/bld.inf Fri Jan 22 10:33:42 2010 +0200
+++ b/omaprovisioning/provisioning/Group/bld.inf Tue Jan 26 12:43:57 2010 +0200
@@ -89,7 +89,7 @@
../ProvisioningEngine/Group/ProvisioningEngine.mmp
../ProvisioningParser/Group/ProvisioningParser.mmp
../ProvisioningHandler/Group/ProvisioningHandler.mmp
-../accesspointAdapter/group/WPAPAdapter.mmp
+../accesspointadapter/group/WPAPAdapter.mmp
../WAPAdapter/Group/WPWAPAdapter.mmp
../IMAdapter/Group/IMAdapter.mmp
../StreamingAdapter/Group/StreamingAdapter.mmp
Binary file remotemgmt_plat/policy_management_certificate_api/tsrc/data/50_TARM_Build.doc has changed
Binary file remotemgmt_plat/policy_management_request_api/tsrc/data/50_TARM_Build.doc has changed
Binary file remotemgmt_plat/scp_server_api/tsrc/data/50_TARM_Build.doc has changed
Binary file remotemgmt_plat/setting_enforcement_info_api/tsrc/data/50_TARM_Build.doc has changed
Binary file remotemgmt_plat/terminal_security_device_lock_api/tsrc/data/50_TARM_Build.doc has changed
--- a/terminalsecurity/SCP/SCPServer/inc/SCPServer.h Fri Jan 22 10:33:42 2010 +0200
+++ b/terminalsecurity/SCP/SCPServer/inc/SCPServer.h Tue Jan 26 12:43:57 2010 +0200
@@ -92,6 +92,8 @@
_LIT8( KCodePolicyTypeId, "http://www.w3.org/2001/XMLSchema#string" );
// Allowed SIDs for the functions
+const TUint32 KSCPServerSIDTelephone( 0x100058B3 ); // Terminal Control Server
+const TUint32 KSCPServerSIDLog( 0x101f4cd5 ); // Terminal Control Server
const TUint32 KSCPServerSIDTerminalControl( 0x10207825 ); // Terminal Control Server
const TUint32 KSCPServerSIDGeneralSettings( 0x100058EC ); // General Settings
//const TUint32 KSCPServerSIDSecurityObserver( 0x10000938 ); // Security Observer
--- a/terminalsecurity/SCP/SCPServer/src/SCPSession.cpp Fri Jan 22 10:33:42 2010 +0200
+++ b/terminalsecurity/SCP/SCPServer/src/SCPSession.cpp Tue Jan 26 12:43:57 2010 +0200
@@ -842,21 +842,31 @@
// Status : Approved
// ---------------------------------------------------------
//
-void CSCPSession::HandleAuthenticationMessageL( const RMessage2 &aMessage )
- {
+void CSCPSession :: HandleAuthenticationMessageL( const RMessage2 &aMessage ) {
+
if(!FeatureManager::FeatureSupported(KFeatureIdSapDeviceLockEnhancements))
{
FeatureManager::UnInitializeLib();
User::Leave(KErrNotSupported);
}
- if ((aMessage.SecureId() != KSCPServerSIDAutolock)&&(aMessage.SecureId() != KAknNfySrvUid)&&
- (aMessage.SecureId() != KSCPServerSIDGeneralSettings)&&(aMessage.SecureId() != KSCPServerSIDSysAp)&&
- (aMessage.SecureId() != KSCPServerSIDTerminalControl))
- {
- Dprint( (_L("CSCPSession::HandleAuthenticationMessageL():\
- ERROR: Permission denied") ));
+
+ TSecureId id = aMessage.SecureId();
+
+ switch(id.iId) {
+ case KSCPServerSIDAutolock:
+ case KAknNfySrvUid:
+ case KSCPServerSIDGeneralSettings:
+ case KSCPServerSIDSysAp:
+ case KSCPServerSIDTerminalControl:
+ case KSCPServerSIDTelephone:
+ case KSCPServerSIDLog:
+ break;
+ default: {
+ Dprint( (_L("[CSCPSession]-> ERROR: Permission denied") ));
User::Leave( KErrPermissionDenied );
}
+ };
+
Dprint( (_L("--> CSCPSession::HandleAuthenticationMessage()") ));
HBufC* servBuf = NULL;