大网数据广告活动
网络与域名解析

Configuring the EAP Method User Interface

· 52CE 我爱测

Explains how to configure the supplicant by supplying an EAP method configuration to EAPHost.

This topic explains how to configure the supplicant by supplying an EAP method configuration to EAPHost.

For a supplicant to perform an EAP-based authentication using EAPHost, a supplicant must supply an EAP method configuration to EAPHost through the EapHostPeerBeginSession function.

  1. To obtain the EAP method configuration, a supplicant typically queries EAPHost using EapHostPeerGetMethods to learn the complete set of EAP methods that are available and installed on the local machine. The list of methods is typically presented to the user in a combination box or other UI control that allows the user to select the method they want.

    [!Note]
    The supplicant may choose to filter the displayed list of methods based on the method property bits indicated in EAP_METHOD_INFO.eapProperties. Some methods may not be appropriate for the security characteristics of the transport provided by the supplicant, for example.

  2. Once the UI control is populated with the set of possible EAP methods, the user selects the method they want to configure. Typically, the supplicant provides a Configuration or Properties button for the user to access configuration properties of the selected EAP method.

    [!Note] The supplicant is aware that there are user-configurable properties based on the eapPropSupportsConfig bit being enabled in EAP_METHOD_INFO.eapProperties.

    For more information, see EAP Method Properties.

  3. When the user clicks the appropriate UI control, the supplicant calls EapHostPeerInvokeConfigUI, passing into the function the HWND value for the supplicant's own UI, the EAP_METHOD_TYPE structure obtained from the query to EAP_METHOD_INFO structure and other required parameters.

  4. Calling EapHostPeerInvokeConfigUI invokes an EAP method's own configuration UI. On return from EapHostPeerInvokeConfigUI, the function will return an EAP method configuration BLOB as an out-parameter.

  5. The supplicant stores the configuration BLOB, along with the EAP_METHOD_TYPE structure for use with EapHostPeerBeginSession.

  6. The precise method for storing the configuration BLOB is entirely up to the supplicant. However, the supplicant should always store the configuration in a suitable, secure manner appropriate for system and user authentication configuration data.

Related topics

Enabling Group Policy

Implementing In-Band NAP Support for EAP Methods

Implementing NAP Support for EAP Methods

Transferring Data Between the Supplicant and EAP Methods

EAPHost Supplicants

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。