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

Diff for /pegasus/src/Pegasus/Common/AuthenticationInfoRep.h between version 1.17.2.1 and 1.18

version 1.17.2.1, 2007/04/03 19:01:44 version 1.18, 2006/09/29 17:38:12
Line 29 
Line 29 
 // //
 //============================================================================== //==============================================================================
 // //
 // Author:  Nag Boranna, Hewlett-Packard Company(nagaraja_boranna@hp.com)  
 //  
 // Modified By: Jair Santos, Hewlett-Packard Company(jair.santos@hp.com)  
 //              Heather Sterling, IBM (hsterl@us.ibm.com)  
 //  
 //%///////////////////////////////////////////////////////////////////////////// //%/////////////////////////////////////////////////////////////////////////////
  
 #ifndef Pegasus_AuthenticationInfoRep_h #ifndef Pegasus_AuthenticationInfoRep_h
Line 61 
Line 56 
 class PEGASUS_COMMON_LINKAGE AuthenticationInfoRep :  public Sharable class PEGASUS_COMMON_LINKAGE AuthenticationInfoRep :  public Sharable
 { {
 public: public:
       enum AuthStatus { NEW_REQUEST, CHALLENGE_SENT, AUTHENTICATED };
  
         //ATTN: we should be using an enumeration for the authtype instead of a string.         //ATTN: we should be using an enumeration for the authtype instead of a string.
         //In the AuthenticationManager, the authtype is set to Basic, Digest, etc         //In the AuthenticationManager, the authtype is set to Basic, Digest, etc
Line 72 
Line 68 
  
     ~AuthenticationInfoRep();     ~AuthenticationInfoRep();
  
     void   setConnectionAuthenticated(Boolean connectionAuthenticated);      AuthStatus getAuthStatus() const
       {
           return _authStatus;
       }
   
       void   setAuthStatus(AuthStatus status);
  
     String getAuthenticatedUser() const     String getAuthenticatedUser() const
     {     {
Line 109 
Line 110 
  
     void   setPrivileged(Boolean privileged);     void   setPrivileged(Boolean privileged);
  
     Boolean isConnectionAuthenticated() const      Boolean isAuthenticated() const
     {     {
         return _connectionAuthenticated;          return (_authStatus == AUTHENTICATED) ? true : false;
     }     }
  
     String getAuthType() const     String getAuthType() const
Line 130 
Line 131 
     void setSecurityAssociation();     void setSecurityAssociation();
 #endif #endif
  
     Boolean isExportConnection() const  
     {  
         return _exportConnection;  
     }  
   
     void setExportConnection(Boolean exportConnection);  
   
         //PEP187         //PEP187
     Array<SSLCertificateInfo*> getClientCertificateChain()     Array<SSLCertificateInfo*> getClientCertificateChain()
         {         {
Line 144 
Line 138 
         }         }
  
         //PEP187         //PEP187
         void setClientCertificateChain(Array<SSLCertificateInfo*> clientCertificate);      void setClientCertificateChain(Array<SSLCertificateInfo*>
                                         clientCertificate);
  
 private: private:
  
Line 161 
Line 156 
     String  _authSecret;     String  _authSecret;
     Boolean _privileged;     Boolean _privileged;
     String  _authType;     String  _authType;
     Boolean _connectionAuthenticated;      AuthStatus _authStatus;
 #ifdef PEGASUS_KERBEROS_AUTHENTICATION #ifdef PEGASUS_KERBEROS_AUTHENTICATION
     AutoPtr<CIMKerberosSecurityAssociation> _securityAssoc;//PEP101     AutoPtr<CIMKerberosSecurityAssociation> _securityAssoc;//PEP101
 #endif #endif
  
     Boolean _exportConnection;  
         Array<SSLCertificateInfo*> _clientCertificate;         Array<SSLCertificateInfo*> _clientCertificate;
 }; };
  


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

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2