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

Diff for /pegasus/src/Pegasus/Server/HTTPAuthenticatorDelegator.cpp between version 1.77 and 1.78

version 1.77, 2007/08/22 07:43:39 version 1.78, 2007/08/28 18:23:54
Line 752 
Line 752 
                            " to profile CIMSERV CL(WBEM).",                            " to profile CIMSERV CL(WBEM).",
                            connectionUserName);                            connectionUserName);
  
                          PEG_AUDIT_LOG(logCertificateBasedUserValidation(
                                           connectionUserName,
                                           String::EMPTY,
                                           String::EMPTY,
                                           String::EMPTY,
                                           httpMessage->ipAddress,
                                           false));
   
                        _sendHttpError(                        _sendHttpError(
                            queueId,                            queueId,
                            HTTP_STATUS_UNAUTHORIZED,                            HTTP_STATUS_UNAUTHORIZED,
Line 865 
Line 873 
                                 (const char*)requestUserName.getCString()                                 (const char*)requestUserName.getCString()
                                 ));                                 ));
  
                            // Write local authentication audit reckord.  
                            PEG_AUDIT_LOG(logLocalAuthentication(  
                                             requestUserName,true));  
   
                         } // end changed authenticated user                         } // end changed authenticated user
  
                     } // end select authenticated user  
                     PEG_TRACE((TRC_HTTP, Tracer::LEVEL4,                     PEG_TRACE((TRC_HTTP, Tracer::LEVEL4,
                          "User authenticated for request = '%s'.",                          "User authenticated for request = '%s'.",
                          (const char*)httpMessage->authInfo->                          (const char*)httpMessage->authInfo->
                                getAuthenticatedUser().getCString()                                getAuthenticatedUser().getCString()
                          ));                          ));
   
                           // Write local authentication audit record.
                           PEG_AUDIT_LOG(logLocalAuthentication(
                                requestUserName,true));
   
                       } // end select authenticated user
                       else
                       {
                           PEG_AUDIT_LOG(logLocalAuthentication(
                                requestUserName,false));
   
                           PEG_TRACE((TRC_HTTP, Tracer::LEVEL4,
                                "User '%s' not authorized for request",
                                (const char*)requestUserName.getCString()));
   
                           _sendHttpError(
                               queueId,
                               HTTP_STATUS_UNAUTHORIZED,
                               String::EMPTY,
                               String::EMPTY,
                               closeConnect);
   
                           PEG_METHOD_EXIT();
                           return;
                       }
                 } // end lookup header                 } // end lookup header
                 else                 else
                 {                 {


Legend:
Removed from v.1.77  
changed lines
  Added in v.1.78

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2