From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-002e3701.pphosted.com (mx0a-002e3701.pphosted.com [148.163.147.86]) by mx.groups.io with SMTP id smtpd.web09.4142.1607506217010214235 for ; Wed, 09 Dec 2020 01:30:17 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=IIIjrC53; spf=pass (domain: hpe.com, ip: 148.163.147.86, mailfrom: prvs=061271953b=abner.chang@hpe.com) Received: from pps.filterd (m0134421.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 0B99SJs2028244; Wed, 9 Dec 2020 09:30:16 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hpe.com; h=from : to : cc : subject : date : message-id; s=pps0720; bh=dgxY230fNGcXZZgt2Z1ecRO1xAoDsKQFPTjSclC4y/E=; b=IIIjrC53YYfPj7H0oLOYdHFNjikSe2Cs585VU/fKmWeabuaAM5gZjQhIjlWEquuXgKHu zYgVdllKEjK5iCQ+uahFX6lWLqPzXUWsYYyNHYV2BPQD6ZZs/7rYWUqxd6MXj2PvlS46 KovrlT59G5Hqywuu868r9ADVK156be4M0spfFLl4gYnewmHB7B0RxzA38tRXGwZolNph mFym34XdJJdXBDwje1on5I0m6J9RnCAoIzUKn00HfTqDKzmcDrPtjL2/h0kA8kHwHVaT gL1/Z9RjfEEV8b1q+qm5Djg3GrJfnQBfqDPkiTPzt8ymr8LOXYSyUX3YpfBh2SCDYWVo Wg== Received: from g4t3425.houston.hpe.com (g4t3425.houston.hpe.com [15.241.140.78]) by mx0b-002e3701.pphosted.com with ESMTP id 358m848skv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 09 Dec 2020 09:30:16 +0000 Received: from g9t2301.houston.hpecorp.net (g9t2301.houston.hpecorp.net [16.220.97.129]) by g4t3425.houston.hpe.com (Postfix) with ESMTP id 74BBBB8; Wed, 9 Dec 2020 09:30:15 +0000 (UTC) Received: from abner-virtual-machine.asiapacific.hpqcorp.net (abner-virtual-machine.asiapacific.hpqcorp.net [15.119.210.153]) by g9t2301.houston.hpecorp.net (Postfix) with ESMTP id CFE9F4C; Wed, 9 Dec 2020 09:30:13 +0000 (UTC) From: "Abner Chang" To: devel@edk2.groups.io Cc: Jiaxin Wu , Ting Ye , Siyuan Fu , Fan Wang , Nickle Wang , Peter O'Hanley Subject: [PATCH 0/2] EDKII Redfish Credential DXE Driver Date: Wed, 9 Dec 2020 16:43:31 +0800 Message-Id: <20201209084333.22422-1-abner.chang@hpe.com> X-Mailer: git-send-email 2.17.1 X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.343,18.0.737 definitions=2020-12-09_07:2020-12-08,2020-12-09 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=1 phishscore=0 priorityscore=1501 adultscore=0 spamscore=0 bulkscore=0 impostorscore=0 mlxscore=0 malwarescore=0 lowpriorityscore=0 mlxlogscore=855 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2012090066 EDKII Redfish Credential DXE driver abstracts platform Redfish credential implementation. Platform provides RedfishPlatformCredentialLib library for the specific Redfish credential implementation. Currently EDKII Redfish Credential driver supports two mechanisms of credential. Which are basic authentication and session authentication. Signed-off-by: Abner Chang Cc: Jiaxin Wu Cc: Ting Ye Cc: Siyuan Fu Cc: Fan Wang Cc: Nickle Wang Cc: Peter O'Hanley Abner Chang (2): RedfishPkg/Include: EDKII Redfish Credential Header file RedfishPkg/RedfishCredentialDxe: EDKII Redfish Credential DXE driver .../Include/Library/RedfishCredentialLib.h | 91 ++++++++ .../Include/Protocol/EdkIIRedfishCredential.h | 101 +++++++++ .../PlatformCredentialLibNull.c | 101 +++++++++ .../PlatformCredentialLibNull.inf | 30 +++ RedfishPkg/Redfish.fdf.inc | 1 + RedfishPkg/RedfishComponents.dsc.inc | 1 + .../RedfishCredentialDxe.c | 209 ++++++++++++++++++ .../RedfishCredentialDxe.h | 75 +++++++ .../RedfishCredentialDxe.inf | 51 +++++ RedfishPkg/RedfishPkg.dec | 7 + RedfishPkg/RedfishPkg.dsc | 2 + 11 files changed, 669 insertions(+) create mode 100644 RedfishPkg/Include/Library/RedfishCredentialLib.h create mode 100644 RedfishPkg/Include/Protocol/EdkIIRedfishCredential.h create mode 100644 RedfishPkg/Library/PlatformCredentialLibNull/PlatformCredentialLibNull.c create mode 100644 RedfishPkg/Library/PlatformCredentialLibNull/PlatformCredentialLibNull.inf create mode 100644 RedfishPkg/RedfishCredentialDxe/RedfishCredentialDxe.c create mode 100644 RedfishPkg/RedfishCredentialDxe/RedfishCredentialDxe.h create mode 100644 RedfishPkg/RedfishCredentialDxe/RedfishCredentialDxe.inf -- 2.17.1