#include <eap_policy.hxx>
Public Types | |
enum | PolicyError { NoCurrentMethod } |
Public Member Functions | |
EapPolicyElement * | NextPolicyElement (EapContinuedPolicyElement::PolicySwitch sw) |
This function is used for getting the next. | |
EapPolicyElement * | CurrentPolicyElement () |
This function is used for getting the current PolicyElement. | |
void | CurrentPolicyElement (EapPolicyElement *e) |
This function is used for setting the current PolicyElement. | |
EapPolicyElement * | InitialPolicyElement () |
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) |
|
This function is used by peers to check whether received request type is supported or not. |
|
This function is used by peers and authenticators to check the current policy indicates the final success or not. |
|
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. |
|
This function is used by a backend authenticator to check whether "pick-up-init" is supported for a given EAP type. |
|
This function is used for traversing the failure policy path until encountering a type contained in the type list contained in Nak message. |
|
This function is used for traversing one policy hop on the sucess or failure branch. |