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

Diff for /pegasus/src/Pegasus/Common/AuthenticationInfo.h between version 1.18 and 1.18.4.2

version 1.18, 2003/10/22 14:26:01 version 1.18.4.2, 2004/04/25 20:39:57
Line 26 
Line 26 
 // Author:  Nag Boranna, Hewlett-Packard Company (nagaraja_boranna@hp.com) // Author:  Nag Boranna, Hewlett-Packard Company (nagaraja_boranna@hp.com)
 // //
 // Modified By: Jair Santos, Hewlett-Packard Company (jair.santos@hp.com) // Modified By: Jair Santos, Hewlett-Packard Company (jair.santos@hp.com)
   //              Heather Sterling, IBM (hsterl@us.ibm.com)
 // //
 //%///////////////////////////////////////////////////////////////////////////// //%/////////////////////////////////////////////////////////////////////////////
  
Line 37 
Line 38 
 #include <Pegasus/Common/Tracer.h> #include <Pegasus/Common/Tracer.h>
 #include <Pegasus/Common/AuthenticationInfoRep.h> #include <Pegasus/Common/AuthenticationInfoRep.h>
 #include <Pegasus/Common/Linkage.h> #include <Pegasus/Common/Linkage.h>
   #include <Pegasus/Common/SSLContext.h>
  
 #ifdef PEGASUS_KERBEROS_AUTHENTICATION #ifdef PEGASUS_KERBEROS_AUTHENTICATION
 #include <Pegasus/Common/CIMKerberosSecurityAssociation.h> #include <Pegasus/Common/CIMKerberosSecurityAssociation.h>
Line 293 
Line 295 
     }     }
 #endif #endif
  
   #ifdef PEGASUS_USE_232_CLIENT_VERIFICATION
   #ifdef PEGASUS_HAS_SSL
       /** Retrieves the SSL Certificate object
       */
       SSLCertificateInfo* getPeerCertificate() const
       {
           _checkRep();
           return _rep->getPeerCertificate();
       }
   
       /** Set the SSL Certificate object
       */
       void setPeerCertificate(SSLCertificateInfo* peerCertificate)
       {
           _checkRep();
           _rep->setPeerCertificate(peerCertificate);
       }
   
       /** Retrieves the SSL Certificate status object
           Returns one of the following values from SSLSocket
           enum certificateStatusFlag
           {
             VERIFICATION_DISABLED,  //no request for certificate is sent
             NO_CERT,                //certificate is requested, but client does not send one
             CERT_SUCCESS,           //certificate is received and verified against truststore
             CERT_FAILURE            //certificate is received but fails verification against truststore
           };
       */
       Sint32 getCertificateStatus() const
       {
           _checkRep();
           return _rep->getCertificateStatus();
       }
   
       /** Sets the certificate status to one of the above values from SSLSocket
       */
       void setCertificateStatus(Sint32 certificateStatus)
       {
           _checkRep();
           _rep->setCertificateStatus(certificateStatus);
       }
   #endif
   #endif
   
 private: private:
  
     AuthenticationInfo(AuthenticationInfoRep* rep) : _rep(rep)     AuthenticationInfo(AuthenticationInfoRep* rep) : _rep(rep)


Legend:
Removed from v.1.18  
changed lines
  Added in v.1.18.4.2

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2