Platform/Intel/UserInterfaceFeaturePkg: Add UserAuthentication modules
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1545 This password based user authentication is to verify user when a user wants to enter BIOS setup page or enter other boot path. 1. The UserAuthenticationDxe driver registers report status code listener. When it gets (EFI_SOFTWARE_DXE_BS_DRIVER | EFI_SW_PC_USER_SETUP) progress code, it will let the user input password, validate and set the password. It also registers a setup page in setup browser, so that user may update the password. UserAuthenticationDxe driver communicates with UserAuthenticationSmm driver to do the password verification and management. 2. UserAuthentication2Dxe driver only registesr a setup page in setup browser, so that user may update the password. UserPasswordLib will provide services to set/verify password. UserPasswordUiLib will provide services to do password authentication. 3. UserAuthenticationSmm driver registers SMI handler to perform the request from UserAuthenticationDxe or UserPasswordLib. If the SMM driver will detect IsPasswordCleared() at the entry point and clear the password if IsPasswordCleared() is TRUE. This can be used when the user forgets the password. 4. PlatformPasswordLib LibraryClass provides a platform-specific method to return password policy.(whether need enroll password or clean password) Cc: Eric Dong <eric.dong@intel.com> Cc: Liming Gao <liming.gao@intel.com> Signed-off-by:Dandan Bi <dandan.bi@intel.com> Reviewed-by:
Eric Dong <eric.dong@intel.com>
Loading
Please register or sign in to comment