(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.29 and 1.31.2.3

version 1.29, 2008/12/02 09:00:42 version 1.31.2.3, 2014/04/28 00:29:12
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 42 
Line 44 
 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";
  
 AuthenticationInfoRep::AuthenticationInfoRep(Boolean flag)  AuthenticationInfoRep::AuthenticationInfoRep()
     : _connectionAuthenticated(false),     : _connectionAuthenticated(false),
       _wasRemotePrivilegedUserAccessChecked(false)        _wasRemotePrivilegedUserAccessChecked(false),
         _authHandle(),
         _isExpiredPassword(false)
 { {
     PEG_METHOD_ENTER(     PEG_METHOD_ENTER(
         TRC_AUTHENTICATION, "AuthenticationInfoRep::AuthenticationInfoRep");         TRC_AUTHENTICATION, "AuthenticationInfoRep::AuthenticationInfoRep");
Line 57 
Line 61 
     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 162 
     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.29  
changed lines
  Added in v.1.31.2.3

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2