(file) Return to PAMBasicAuthenticator.h CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Security / Authentication

Diff for /pegasus/src/Pegasus/Security/Authentication/PAMBasicAuthenticator.h between version 1.9 and 1.9.4.2

version 1.9, 2003/10/22 14:26:13 version 1.9.4.2, 2004/04/24 01:38:15
Line 38 
Line 38 
 #include <Pegasus/Common/IPC.h> #include <Pegasus/Common/IPC.h>
 #include "BasicAuthenticator.h" #include "BasicAuthenticator.h"
  
   
 #include <Pegasus/Security/Authentication/Linkage.h> #include <Pegasus/Security/Authentication/Linkage.h>
  
  
 PEGASUS_NAMESPACE_BEGIN PEGASUS_NAMESPACE_BEGIN
  
   /** This class provides PAM basic authentication by communicating with a
       standalone process.
   */
   
   #if defined(PEGASUS_USE_PAM_STANDALONE_PROC)
   
   class PEGASUS_SECURITY_LINKAGE PAMBasicAuthenticatorStandAlone
   {
   public:
   
       /** constructor. */
       PAMBasicAuthenticatorStandAlone();
   
       /** destructor. */
       ~PAMBasicAuthenticatorStandAlone();
   
       /** Verify the authentication of the requesting user.
           @param userName String containing the user name
           @param password String containing the user password
           @return true on successful authentication, false otherwise
       */
       Boolean authenticate(
           const String& userName,
           const String& password);
   
   private:
       String        _realm;
   
       Boolean _authenticateByPAM(
           const String& userName,
           const String& password);
   
       void _createPAMStandalone();
   };
   
   #endif /* if defined(PEGASUS_USE_PAM_STANDALONE_PROC) */
   
 /** This class provides PAM basic authentication implementation by extending /** This class provides PAM basic authentication implementation by extending
     the BasicAuthenticator.     the BasicAuthenticator.
 */ */
Line 100 
Line 138 
         const String& userName,         const String& userName,
         const String& password);         const String& password);
  
 #if defined (PEGASUS_OS_HPUX)  #if defined(PEGASUS_USE_PAM_STANDALONE_PROC)
     Boolean     _usePAM;      PAMBasicAuthenticatorStandAlone* _pamBasicAuthenticatorStandAlone;
   
     Boolean _authenticateByPwnam(  
         const char* userName,  
         const String& password);  
 #endif #endif
   
 }; };
  
  


Legend:
Removed from v.1.9  
changed lines
  Added in v.1.9.4.2

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2