(file) Return to AuthenticationManager.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Security / Authentication

Diff for /pegasus/src/Pegasus/Security/Authentication/AuthenticationManager.cpp between version 1.24 and 1.25

version 1.24, 2006/04/18 19:08:45 version 1.25, 2006/11/08 12:41:28
Line 29 
Line 29 
 // //
 //============================================================================== //==============================================================================
 // //
 // Author: Nag Boranna, Hewlett-Packard Company(nagaraja_boranna@hp.com)  
 //  
 // Modified By: Dave Rosckes (rosckes@us.ibm.com)  
 //                Josephine Eskaline Joyce (jojustin@in.ibm.com) for PEP#101  
 //              Sushma Fernandes, Hewlett-Packard Company(sushma_fernandes@hp.com)  
 //  
 //%///////////////////////////////////////////////////////////////////////////// //%/////////////////////////////////////////////////////////////////////////////
  
 #include <Pegasus/Common/System.h> #include <Pegasus/Common/System.h>
Line 94 
Line 88 
     PEG_METHOD_EXIT();     PEG_METHOD_EXIT();
 } }
  
   Boolean AuthenticationManager::isRemotePrivilegedUserAccessAllowed(
           String & userName)
   {
       //
       // Reject access if the user is privileged and remote privileged user
       // access is not enabled.
       //
       if (!ConfigManager::parseBooleanValue(ConfigManager::getInstance()->
               getCurrentValue("enableRemotePrivilegedUserAccess"))
           && System::isPrivilegedUser(userName))
       {
           Tracer::trace(TRC_AUTHENTICATION, Tracer::LEVEL2,
               "Authentication failed for user '%s' because "
               "enableRemotePrivilegedUserAccess is not set to 'true'.",
               (const char*) userName.getCString());
           Logger::put_l(
               Logger::STANDARD_LOG, System::CIMSERVER, Logger::INFORMATION,
               "Security.Authentication.BasicAuthenticationHandler."
                   "PRIVILEGED_ACCESS_DISABLED",
               "Authentication failed for user '$0' because "
                   "enableRemotePrivilegedUserAccess is not set to 'true'.",
               userName);
           return false;
       }
       return true;
   }
   
 // //
 // Perform http authentication // Perform http authentication
 // //


Legend:
Removed from v.1.24  
changed lines
  Added in v.1.25

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2