(file) Return to ShutdownProvider.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Server

Diff for /pegasus/src/Pegasus/Server/ShutdownProvider.cpp between version 1.26 and 1.27

version 1.26, 2013/07/02 04:33:11 version 1.27, 2013/07/11 12:32:22
Line 85 
Line 85 
  
 #ifndef PEGASUS_ZOS_SECURITY #ifndef PEGASUS_ZOS_SECURITY
     // Only privileged user can execute this operation     // Only privileged user can execute this operation
     if ((userName != String::EMPTY) && !System::isPrivilegedUser(userName))      if ( userName.size() && !System::isPrivilegedUser(userName))
     {     {
         MessageLoaderParms parms(         MessageLoaderParms parms(
             "ControlProviders.UserAuthProvider.MUST_BE_PRIVILEGED_USER",             "ControlProviders.UserAuthProvider.MUST_BE_PRIVILEGED_USER",
             "Must be a privileged user to execute this CIM operation.");              "Superuser authority is required to run this CIM operation.");
         PEG_METHOD_EXIT();         PEG_METHOD_EXIT();
         throw PEGASUS_CIM_EXCEPTION_L(CIM_ERR_ACCESS_DENIED, parms);         throw PEGASUS_CIM_EXCEPTION_L(CIM_ERR_ACCESS_DENIED, parms);
     }     }


Legend:
Removed from v.1.26  
changed lines
  Added in v.1.27

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2