version 1.43, 2006/08/08 17:47:14
|
version 1.44, 2006/09/26 17:26:25
|
|
|
// | // |
//============================================================================== | //============================================================================== |
// | // |
// Author: Nag Boranna, Hewlett-Packard Company (nagaraja_boranna@hp.com) |
|
// |
|
// Modified By: Sushma Fernandes, Hewlett-Packard Company |
|
// (sushma_fernandes@hp.com) |
|
// Carol Ann Krug Graves, Hewlett-Packard Company |
|
// (carolann_graves@hp.com) |
|
// Yi Zhou, Hewlett-Packard Company (yi_zhou@hp.com) |
|
// Amit K Arora, IBM (amita@in.ibm.com) for PEP#101 |
|
// Seema Gupta (gseema@in.ibm.com) for PEP135 |
|
// David Dillard, VERITAS Software Corp. |
|
// (david.dillard@veritas.com) |
|
// |
|
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
#include <Pegasus/Common/Config.h> | #include <Pegasus/Common/Config.h> |
|
|
// If the user is privileged, and remote privileged user access is not | // If the user is privileged, and remote privileged user access is not |
// enabled and the auth type is not Local then reject access. | // enabled and the auth type is not Local then reject access. |
// | // |
if (System::isPrivilegedUser(userName) && |
if (!String::equalNoCase(authType, "Local") && |
!String::equalNoCase(authType, "Local") && |
|
!ConfigManager::parseBooleanValue( | !ConfigManager::parseBooleanValue( |
configManager->getCurrentValue("enableRemotePrivilegedUserAccess"))) |
configManager->getCurrentValue("enableRemotePrivilegedUserAccess")) && |
|
System::isPrivilegedUser(userName)) |
{ | { |
| |
if (cimMethodName == "InvokeMethod") | if (cimMethodName == "InvokeMethod") |