equal
deleted
inserted
replaced
90 _LIT8( KCodePolicyAction, "action" ); |
90 _LIT8( KCodePolicyAction, "action" ); |
91 _LIT8( KCodePolicyActionValue, "lock" ); |
91 _LIT8( KCodePolicyActionValue, "lock" ); |
92 _LIT8( KCodePolicyTypeId, "http://www.w3.org/2001/XMLSchema#string" ); |
92 _LIT8( KCodePolicyTypeId, "http://www.w3.org/2001/XMLSchema#string" ); |
93 |
93 |
94 // Allowed SIDs for the functions |
94 // Allowed SIDs for the functions |
|
95 const TUint32 KSCPSTIF( 0x102073E4 ); // STIF exe |
95 const TUint32 KSCPServerSIDTelephone( 0x100058B3 ); // Terminal Control Server |
96 const TUint32 KSCPServerSIDTelephone( 0x100058B3 ); // Terminal Control Server |
96 const TUint32 KSCPServerSIDLog( 0x101f4cd5 ); // Terminal Control Server |
97 const TUint32 KSCPServerSIDLog( 0x101f4cd5 ); // Terminal Control Server |
97 const TUint32 KSCPServerSIDTerminalControl( 0x10207825 ); // Terminal Control Server |
98 const TUint32 KSCPServerSIDTerminalControl( 0x10207825 ); // Terminal Control Server |
98 const TUint32 KSCPServerSIDGeneralSettings( 0x100058EC ); // General Settings |
99 const TUint32 KSCPServerSIDGeneralSettings( 0x100058EC ); // General Settings |
99 //const TUint32 KSCPServerSIDSecurityObserver( 0x10000938 ); // Security Observer |
100 //const TUint32 KSCPServerSIDSecurityObserver( 0x10000938 ); // Security Observer |
176 CPolicyServer::EFailClient |
177 CPolicyServer::EFailClient |
177 }, |
178 }, |
178 { |
179 { |
179 _INIT_SECURITY_POLICY_C1( ECapability_None ), |
180 _INIT_SECURITY_POLICY_C1( ECapability_None ), |
180 CPolicyServer::EFailClient |
181 CPolicyServer::EFailClient |
181 } |
182 } |
182 }; |
183 }; |
183 #endif // SCP_ENFORCE_SECURITY |
184 #endif // SCP_ENFORCE_SECURITY |
184 |
185 |
185 // Policy server ranges |
186 // Policy server ranges |
186 const TInt SCPPolicyRanges[] = |
187 const TInt SCPPolicyRanges[] = |
492 |
493 |
493 /** |
494 /** |
494 * This method is called to remove the parameters set by the application(s) provided as arguments. |
495 * This method is called to remove the parameters set by the application(s) provided as arguments. |
495 */ |
496 */ |
496 TInt PerformCleanupL( HBufC8* aAppIDBuffer, RArray<const TParamChange>& aChangeArray, RPointerArray<HBufC8>& aParamValArray ); |
497 TInt PerformCleanupL( HBufC8* aAppIDBuffer, RArray<const TParamChange>& aChangeArray, RPointerArray<HBufC8>& aParamValArray ); |
|
498 |
|
499 /** |
|
500 * This method returns the values for the policies maintained at the server |
|
501 */ |
|
502 void GetPoliciesL(HBufC8* aAppIDBuffer, TUint32 aCallerIdentity); |
497 //#endif // __SAP_DEVICE_LOCK_ENHANCEMENTS |
503 //#endif // __SAP_DEVICE_LOCK_ENHANCEMENTS |
498 |
504 |
499 // Methods from base classes |
505 // Methods from base classes |
500 |
506 |
501 /** |
507 /** |
513 /** |
519 /** |
514 * From MSCPTimeoutHandler Timeout callback |
520 * From MSCPTimeoutHandler Timeout callback |
515 * @param aParam The parameter passed to the timer object |
521 * @param aParam The parameter passed to the timer object |
516 */ |
522 */ |
517 void Timeout( TAny* aParam ); |
523 void Timeout( TAny* aParam ); |
|
524 |
|
525 TInt ValidateLockcodeAgainstPoliciesL(TDes& aLockcode,CSCPParamObject*& aRetParams); |
518 |
526 |
519 private: //Methods |
527 private: //Methods |
520 |
528 |
521 // New Methods |
529 // New Methods |
522 |
530 |