Main Page | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

EapPolicy Class Reference

#include <eap_policy.hxx>

List of all members.

Public Types

enum  PolicyError { NoCurrentMethod }

Public Member Functions

EapPolicyElementNextPolicyElement (EapContinuedPolicyElement::PolicySwitch sw)
 This function is used for getting the next.

EapPolicyElementCurrentPolicyElement ()
 This function is used for getting the current PolicyElement.

void CurrentPolicyElement (EapPolicyElement *e)
 This function is used for setting the current PolicyElement.

EapPolicyElementInitialPolicyElement ()
 This function is used for getting the initial PolicyElement.

void InitialPolicyElement (EapPolicyElement *e)
 This function is used for setting the initial PolicyElement.

EapType CurrentMethod () throw (PolicyError)
 This function is used for getting the current method.

void Update (EapContinuedPolicyElement::PolicySwitch sw)
void Update (EapTypeList &typeL)
bool Allow (EapType t)
bool IsSatisfied ()
void MakeTypeList (EapTypeList &typeL, bool isVSE)
bool SupportPickUp (EapType type)


Detailed Description

This class represents an EAP policy. See Authentication Policy for detailed description about authentication policy.


Member Function Documentation

bool EapPolicy::Allow EapType  t  ) 
 

This function is used by peers to check whether received request type is supported or not.

bool EapPolicy::IsSatisfied  ) 
 

This function is used by peers and authenticators to check the current policy indicates the final success or not.

void EapPolicy::MakeTypeList EapTypeList typeL,
bool  isVSE
 

This function is used by Peers to generate a type list to be included in Nak. The type list is created based on the sub-tree rooted at the current PolicyElement. The second argument indicates whether the Request to be Nak'ed is vendor-specific Request or legacy one.

bool EapPolicy::SupportPickUp EapType  type  )  [inline]
 

This function is used by a backend authenticator to check whether "pick-up-init" is supported for a given EAP type.

void EapPolicy::Update EapTypeList typeL  ) 
 

This function is used for traversing the failure policy path until encountering a type contained in the type list contained in Nak message.

void EapPolicy::Update EapContinuedPolicyElement::PolicySwitch  sw  ) 
 

This function is used for traversing one policy hop on the sucess or failure branch.


The documentation for this class was generated from the following file:
Generated on Fri Jun 25 19:16:18 2004 for EAP State Machine by doxygen 1.3.5