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

Diff for /pegasus/src/Pegasus/Config/SecurityPropertyOwner.cpp between version 1.52 and 1.53

version 1.52, 2005/06/03 03:48:16 version 1.53, 2005/06/16 05:49:14
Line 36 
Line 36 
 //       Heather Sterling, IBM (hsterl@us.ibm.com) //       Heather Sterling, IBM (hsterl@us.ibm.com)
 //       Aruran, IBM (ashanmug@in.ibm.com) for Bug# 3614 //       Aruran, IBM (ashanmug@in.ibm.com) for Bug# 3614
 //       Vijay Eli, IBM, (vijayeli@in.ibm.com) for Bug# 3613 //       Vijay Eli, IBM, (vijayeli@in.ibm.com) for Bug# 3613
   //       Aruran, IBM (ashanmug@in.ibm.com) for Bug# 3613
 // //
 //%///////////////////////////////////////////////////////////////////////////// //%/////////////////////////////////////////////////////////////////////////////
  
Line 387 
Line 388 
 } }
  
 struct ConfigProperty* SecurityPropertyOwner::_lookupConfigProperty( struct ConfigProperty* SecurityPropertyOwner::_lookupConfigProperty(
     const String& name)      const String& name) const
 { {
     if (String::equalNoCase(_enableAuthentication->propertyName, name))     if (String::equalNoCase(_enableAuthentication->propertyName, name))
     {     {
Line 476 
Line 477 
     Array<String>& propertyInfo) const     Array<String>& propertyInfo) const
 { {
     propertyInfo.clear();     propertyInfo.clear();
       struct ConfigProperty * configProperty = _lookupConfigProperty(name);
     SecurityPropertyOwner* const localThis =  
                               const_cast<SecurityPropertyOwner* const>(this);  
     struct ConfigProperty * configProperty =  
                               localThis->_lookupConfigProperty(name);  
  
     propertyInfo.append(configProperty->propertyName);     propertyInfo.append(configProperty->propertyName);
     propertyInfo.append(configProperty->defaultValue);     propertyInfo.append(configProperty->defaultValue);
Line 509 
Line 506 
 */ */
 String SecurityPropertyOwner::getDefaultValue(const String& name) const String SecurityPropertyOwner::getDefaultValue(const String& name) const
 { {
     SecurityPropertyOwner* const localThis =      struct ConfigProperty * configProperty = _lookupConfigProperty(name);
                               const_cast<SecurityPropertyOwner* const>(this);  
     struct ConfigProperty * configProperty =  
                               localThis->_lookupConfigProperty(name);  
     return configProperty->defaultValue;     return configProperty->defaultValue;
 } }
  
Line 521 
Line 515 
 */ */
 String SecurityPropertyOwner::getCurrentValue(const String& name) const String SecurityPropertyOwner::getCurrentValue(const String& name) const
 { {
     SecurityPropertyOwner* const localThis =      struct ConfigProperty * configProperty = _lookupConfigProperty(name);
                               const_cast<SecurityPropertyOwner* const>(this);  
     struct ConfigProperty * configProperty =  
                               localThis->_lookupConfigProperty(name);  
     return configProperty->currentValue;     return configProperty->currentValue;
 } }
  
Line 533 
Line 524 
 */ */
 String SecurityPropertyOwner::getPlannedValue(const String& name) const String SecurityPropertyOwner::getPlannedValue(const String& name) const
 { {
     SecurityPropertyOwner* const localThis =      struct ConfigProperty * configProperty = _lookupConfigProperty(name);
                               const_cast<SecurityPropertyOwner* const>(this);  
     struct ConfigProperty * configProperty =  
                               localThis->_lookupConfigProperty(name);  
     return configProperty->plannedValue;     return configProperty->plannedValue;
 } }
  
Line 865 
Line 853 
 */ */
 Boolean SecurityPropertyOwner::isDynamic(const String& name) const Boolean SecurityPropertyOwner::isDynamic(const String& name) const
 { {
     SecurityPropertyOwner* const localThis =      struct ConfigProperty * configProperty =_lookupConfigProperty(name);
                               const_cast<SecurityPropertyOwner* const>(this);  
     struct ConfigProperty * configProperty =  
                               localThis->_lookupConfigProperty(name);  
  
     return (configProperty->dynamic==IS_DYNAMIC);     return (configProperty->dynamic==IS_DYNAMIC);
 } }


Legend:
Removed from v.1.52  
changed lines
  Added in v.1.53

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2