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

Diff for /pegasus/src/Pegasus/Common/AuthenticationInfoRep.cpp between version 1.28 and 1.38

version 1.28, 2008/12/01 17:49:47 version 1.38, 2014/11/10 16:14:05
Line 33 
Line 33 
 #include <Pegasus/Common/Tracer.h> #include <Pegasus/Common/Tracer.h>
 #include "AuthenticationInfoRep.h" #include "AuthenticationInfoRep.h"
 #include <Pegasus/Common/SSLContext.h> #include <Pegasus/Common/SSLContext.h>
   #include <Pegasus/Common/FileSystem.h>
   #include <Pegasus/Common/Executor.h>
  
 PEGASUS_USING_STD; PEGASUS_USING_STD;
  
Line 41 
Line 43 
 const String AuthenticationInfoRep::AUTH_TYPE_SSL = "SSL"; const String AuthenticationInfoRep::AUTH_TYPE_SSL = "SSL";
 const String AuthenticationInfoRep::AUTH_TYPE_ZOS_LOCAL_DOMIAN_SOCKET = "LDS"; const String AuthenticationInfoRep::AUTH_TYPE_ZOS_LOCAL_DOMIAN_SOCKET = "LDS";
 const String AuthenticationInfoRep::AUTH_TYPE_ZOS_ATTLS = "ATTLS"; const String AuthenticationInfoRep::AUTH_TYPE_ZOS_ATTLS = "ATTLS";
   const String AuthenticationInfoRep::AUTH_TYPE_COOKIE = "COOKIE";
  
 AuthenticationInfoRep::AuthenticationInfoRep(Boolean flag)  AuthenticationInfoRep::AuthenticationInfoRep()
     : _connectionAuthenticated(false),     : _connectionAuthenticated(false),
       _wasRemotePrivilegedUserAccessChecked(false)        _wasRemotePrivilegedUserAccessChecked(false),
         _authHandle(),
         _isExpiredPassword(false)
   #ifdef PEGASUS_ENABLE_SESSION_COOKIES
         ,_cookie()
   #endif
 { {
     PEG_METHOD_ENTER(     PEG_METHOD_ENTER(
         TRC_AUTHENTICATION, "AuthenticationInfoRep::AuthenticationInfoRep");         TRC_AUTHENTICATION, "AuthenticationInfoRep::AuthenticationInfoRep");
   #ifdef PEGASUS_NEGOTIATE_AUTHENTICATION
         _session.reset(new NegotiateServerSession());
   #endif
     PEG_METHOD_EXIT();     PEG_METHOD_EXIT();
 } }
  
Line 57 
Line 67 
     PEG_METHOD_ENTER(     PEG_METHOD_ENTER(
         TRC_AUTHENTICATION, "AuthenticationInfoRep::~AuthenticationInfoRep");         TRC_AUTHENTICATION, "AuthenticationInfoRep::~AuthenticationInfoRep");
  
       // initiate the deletion of _localAuthFilePath.
       if(FileSystem::exists(_localAuthFilePath))
       {
           // No response was received from the local client for the
           // authentication challenge. Hence deleting the file here.
   
           // Use executor, if present.
           if (Executor::detectExecutor() == 0)
           {
               Executor::removeFile(_localAuthFilePath.getCString());
           }
           else
           {
               FileSystem::removeFile(_localAuthFilePath);
           }
       }
   
     PEG_METHOD_EXIT();     PEG_METHOD_EXIT();
 } }
  
Line 141 
Line 168 
     PEG_METHOD_EXIT();     PEG_METHOD_EXIT();
 } }
  
 #ifdef PEGASUS_KERBEROS_AUTHENTICATION  
 void AuthenticationInfoRep::setSecurityAssociation()  
 {  
     PEG_METHOD_ENTER(  
         TRC_AUTHENTICATION, "AuthenticationInfoRep::setSecurityAssociation");  
   
     if ( !_securityAssoc.get() )  
     {  
         _securityAssoc.reset(new CIMKerberosSecurityAssociation);  
     }  
   
     PEG_METHOD_EXIT();  
 }  
 #endif  
   
 void AuthenticationInfoRep::setClientCertificateChain( void AuthenticationInfoRep::setClientCertificateChain(
     Array<SSLCertificateInfo*> clientCertificate)     Array<SSLCertificateInfo*> clientCertificate)
 { {


Legend:
Removed from v.1.28  
changed lines
  Added in v.1.38

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2