Skip to content
Commit fa878613 authored by Dandan Bi's avatar Dandan Bi Committed by Eric Dong
Browse files

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: default avatarDandan Bi <dandan.bi@intel.com>
Reviewed-by: default avatarEric Dong <eric.dong@intel.com>
parent 8e8d1a72
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment