(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.7 and 1.8

version 1.7, 2002/02/28 23:06:44 version 1.8, 2002/03/04 19:56:08
Line 247 
Line 247 
                     //ATTN: the number of challenges get sent for a                     //ATTN: the number of challenges get sent for a
                     //      request on a connection can be pre-set.                     //      request on a connection can be pre-set.
  
                     String authChallenge = String::EMPTY;  
   
                     String authResp =                     String authResp =
                         _authenticationManager->getHttpAuthResponseHeader();                         _authenticationManager->getHttpAuthResponseHeader();
  
                     //                      if (!String::equal(authResp, String::EMPTY))
                     // Set the challenge string in the Authentication Info                      {
                     // object that was sent with the HTTPMessage  
                     //  
                     httpMessage->authInfo->setAuthChallenge(authChallenge);  
   
                     _sendChallenge(queueId, authResp);                     _sendChallenge(queueId, authResp);
                       }
                       else
                       {
                           _sendError(queueId, "Invalid Request");
                       }
  
                     return;                     return;
                 }                 }
Line 308 
Line 307 
         }         }
         else         else
         {         {
             //String authChallenge;  
   
             String authResp =             String authResp =
                 _authenticationManager->getHttpAuthResponseHeader();                 _authenticationManager->getHttpAuthResponseHeader();
  
             //              if (!String::equal(authResp, String::EMPTY))
             // Set the challenge string in the Authentication Info              {
             // object that was sent with the HTTPMessage  
             //  
             //ATTN: check this out later..  
             //httpMessage->authInfo->setAuthChallenge(authChallenge);  
   
             _sendChallenge(queueId, authResp);             _sendChallenge(queueId, authResp);
   
         }         }
               else
               {
                   _sendError(queueId, "Invalid Request");
               }
           }
     }     }
 } }
  


Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2