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
59 lines
1.2 KiB
//#--------------------------------------------------------------
|
|
//
|
|
// File: valaccess.h
|
|
//
|
|
// Synopsis: This file holds the declarations of the
|
|
// CValAccess class
|
|
//
|
|
//
|
|
// History: 9/23/97 MKarki Created
|
|
//
|
|
// Copyright (C) 1997-98 Microsoft Corporation
|
|
// All rights reserved.
|
|
//
|
|
//----------------------------------------------------------------
|
|
#ifndef _VALACCESS_H_
|
|
#define _VALACCESS_H_
|
|
|
|
#include "packetradius.h"
|
|
#include "validator.h"
|
|
#include "valattrib.h"
|
|
#include "clients.h"
|
|
|
|
//#include "preprocessor.h"
|
|
|
|
class CValAccess : public CValidator
|
|
{
|
|
public:
|
|
|
|
//
|
|
// this method validates the inbound RADIUS packet
|
|
//
|
|
virtual HRESULT ValidateInPacket (
|
|
/*[in]*/ CPacketRadius *pCPacketRadius
|
|
);
|
|
|
|
//
|
|
// constructor
|
|
//
|
|
CValAccess(VOID);
|
|
|
|
//
|
|
// destructor
|
|
//
|
|
virtual ~CValAccess(VOID);
|
|
|
|
private:
|
|
|
|
//
|
|
// this method validates the signature attribute received
|
|
// in an access request
|
|
//
|
|
HRESULT ValidateSignature (
|
|
/*[in]*/ CPacketRadius *pCPacketRadius
|
|
);
|
|
|
|
};
|
|
|
|
|
|
#endif // #ifndef _VALACCESS_H_
|