Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

59 lines
1.2 KiB

  1. //#--------------------------------------------------------------
  2. //
  3. // File: valaccess.h
  4. //
  5. // Synopsis: This file holds the declarations of the
  6. // CValAccess class
  7. //
  8. //
  9. // History: 9/23/97 MKarki Created
  10. //
  11. // Copyright (C) 1997-98 Microsoft Corporation
  12. // All rights reserved.
  13. //
  14. //----------------------------------------------------------------
  15. #ifndef _VALACCESS_H_
  16. #define _VALACCESS_H_
  17. #include "packetradius.h"
  18. #include "validator.h"
  19. #include "valattrib.h"
  20. #include "clients.h"
  21. //#include "preprocessor.h"
  22. class CValAccess : public CValidator
  23. {
  24. public:
  25. //
  26. // this method validates the inbound RADIUS packet
  27. //
  28. virtual HRESULT ValidateInPacket (
  29. /*[in]*/ CPacketRadius *pCPacketRadius
  30. );
  31. //
  32. // constructor
  33. //
  34. CValAccess(VOID);
  35. //
  36. // destructor
  37. //
  38. virtual ~CValAccess(VOID);
  39. private:
  40. //
  41. // this method validates the signature attribute received
  42. // in an access request
  43. //
  44. HRESULT ValidateSignature (
  45. /*[in]*/ CPacketRadius *pCPacketRadius
  46. );
  47. };
  48. #endif // #ifndef _VALACCESS_H_