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

Diff for /pegasus/src/Pegasus/Security/Authentication/LocalAuthenticator.h between version 1.3 and 1.4

version 1.3, 2002/01/24 19:10:32 version 1.4, 2002/03/21 22:11:15
Line 34 
Line 34 
  
 #include <Pegasus/Common/Config.h> #include <Pegasus/Common/Config.h>
 #include <Pegasus/Common/String.h> #include <Pegasus/Common/String.h>
   
 #include "Linkage.h" #include "Linkage.h"
  
 PEGASUS_NAMESPACE_BEGIN PEGASUS_NAMESPACE_BEGIN
Line 54 
Line 55 
     /** destructor. */     /** destructor. */
     virtual ~LocalAuthenticator() { };     virtual ~LocalAuthenticator() { };
  
     /** authenticate. */      /** Verify the authentication of the requesting user.
     virtual Boolean authenticate(          @param userName String containing the user name
         const String& userName,          @param secretReceived String containing the authentication secret
         const String& password) = 0;          sent by the client.
           @param secretKept String containing the authentication secret that
     /** authenticate. */          was sent to client as part of the challenge.
           @return true on successful authentication, false otherwise
       */
     virtual Boolean authenticate(     virtual Boolean authenticate(
         const String& userName,         const String& userName,
         const String& secretReceived,         const String& secretReceived,
         const String& secretKept) = 0;         const String& secretKept) = 0;
  
     /** getAuthResponseHeader. */      /** Construct and return the Peagaus Local authentication challenge header
           @param authType String containing the authentication type
           @param userName String containing the user name
           @param challenge String to store the authentication challenge secret
           @return A string containing the authentication challenge header.
       */
     virtual String getAuthResponseHeader(     virtual String getAuthResponseHeader(
         const String& authType,         const String& authType,
         const String& userName,         const String& userName,


Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2