(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.19 and 1.25.2.3

version 1.19, 2006/10/20 18:06:02 version 1.25.2.3, 2007/04/30 22:55:38
Line 56 
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
         //We also need to be able to check whether the type is SSL, so I'm adding a         //We also need to be able to check whether the type is SSL, so I'm adding a
         //string here to make it less arbitrary.  PEP165         //string here to make it less arbitrary.  PEP165
Line 68 
Line 68 
  
     ~AuthenticationInfoRep();     ~AuthenticationInfoRep();
  
     AuthStatus getAuthStatus() const      void   setConnectionAuthenticated(Boolean connectionAuthenticated);
     {  
         return _authStatus;  
     }  
   
     void   setAuthStatus(AuthStatus status);  
  
     String getAuthenticatedUser() const     String getAuthenticatedUser() const
     {     {
Line 89 
Line 84 
  
     void   setAuthenticatedPassword(const String& password);     void   setAuthenticatedPassword(const String& password);
  
     String getAuthChallenge() const      String getLocalAuthFilePath() const
     {  
         return _authChallenge;  
     }  
   
     void   setAuthChallenge(const String& challenge);  
   
     String getAuthSecret() const  
     {     {
         return _authSecret;          return _localAuthFilePath;
     }     }
  
     void   setAuthSecret(const String& secret);      void setLocalAuthFilePath(const String& filePath);
  
     Boolean isPrivileged() const      String getLocalAuthSecret() const
     {     {
         return _privileged;          return _localAuthSecret;
     }     }
  
     void   setPrivileged(Boolean privileged);      void   setLocalAuthSecret(const String& secret);
  
     Boolean isAuthenticated() const      Boolean isConnectionAuthenticated() const
     {     {
         return (_authStatus == AUTHENTICATED) ? true : false;          return _connectionAuthenticated;
     }     }
  
     String getAuthType() const     String getAuthType() const
Line 141 
Line 129 
     void setSecurityAssociation();     void setSecurityAssociation();
 #endif #endif
  
     //PEP187  
     Array<SSLCertificateInfo*> getClientCertificateChain()     Array<SSLCertificateInfo*> getClientCertificateChain()
     {     {
         return _clientCertificate;         return _clientCertificate;
     }     }
  
     //PEP187      void setClientCertificateChain(
     void setClientCertificateChain(Array<SSLCertificateInfo*>          Array<SSLCertificateInfo*> clientCertificate);
                                       clientCertificate);  
       void setRemotePrivilegedUserAccessChecked()
       {
           _wasRemotePrivilegedUserAccessChecked = true;
       }
   
       Boolean getRemotePrivilegedUserAccessChecked()
       {
           return _wasRemotePrivilegedUserAccessChecked;
       }
  
 private: private:
  
Line 162 
Line 158 
  
     String  _authUser;     String  _authUser;
     String  _authPassword;     String  _authPassword;
     String  _authChallenge;      String  _localAuthSecret;
     String  _authSecret;      String  _localAuthFilePath;
     Boolean _privileged;  
     String  _authType;     String  _authType;
     AuthStatus _authStatus;      Boolean _connectionAuthenticated;
     String  _ipAddress;     String  _ipAddress;
 #ifdef PEGASUS_KERBEROS_AUTHENTICATION #ifdef PEGASUS_KERBEROS_AUTHENTICATION
     AutoPtr<CIMKerberosSecurityAssociation> _securityAssoc;//PEP101     AutoPtr<CIMKerberosSecurityAssociation> _securityAssoc;//PEP101
 #endif #endif
       Boolean _wasRemotePrivilegedUserAccessChecked;
  
     Array<SSLCertificateInfo*> _clientCertificate;     Array<SSLCertificateInfo*> _clientCertificate;
 }; };


Legend:
Removed from v.1.19  
changed lines
  Added in v.1.25.2.3

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2