version 1.19.36.1, 2007/03/23 21:53:52
|
version 1.19.36.2, 2007/03/30 00:35:03
|
|
|
| |
| |
#include "compilerDeclContext.h" | #include "compilerDeclContext.h" |
#include "Policy.h" |
|
| |
PEGASUS_NAMESPACE_BEGIN | PEGASUS_NAMESPACE_BEGIN |
| |
|
|
CIMInstance &x) | CIMInstance &x) |
{ | { |
if (_ot == compilerCommonDefs::USE_REPOSITORY) | if (_ot == compilerCommonDefs::USE_REPOSITORY) |
{ |
|
_repository->_createInstance(nameSpace, x); | _repository->_createInstance(nameSpace, x); |
|
|
#if defined(PEGASUS_ENABLE_PRIVILEGE_SEPARATION) |
|
|
|
// If the class name is "PG_ProviderModule", then the policy file must |
|
// be updated before asking the CIM server to create the instance. |
|
|
|
String className = x.getClassName().getString(); |
|
|
|
if (String::equalNoCase(className, "PG_ProviderModule")) |
|
UpdatePolicyFile(x); |
|
|
|
#endif /* defined(PEGASUS_ENABLE_PRIVILEGE_SEPARATION) */ |
|
} |
|
} | } |
| |
void | void |