Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[code] Update RedfishCredentailDxe driver #21

Open
nicklela opened this issue Nov 29, 2022 · 0 comments
Open

[code] Update RedfishCredentailDxe driver #21

nicklela opened this issue Nov 29, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request migrated migrated to edk2-redfish-client

Comments

@nicklela
Copy link
Owner

Based on edk2 discussion, update RedfishCredentailDxe driver to follow below design:

  • New function to determinate authentication method will be created in this driver. The idea is as below:
    • Get URI path to computer system by parsing redfish service root (/redfish/v1)
  • Issue HTTP GET to "/redfish/v1/Systems" (which normally require authentication) without authentication method.
    a) if client receive 200 OK, "No Auth" is used and we don't need to get credentials
    b) if client receive 401 Unauthorized, check the "WWW-Authenticate" field in returned HTTP header. "Basic realm" or "X-Auh-Token realm" or both two methods will be specified. Then client can know what method to use. Two methods all require credential.
  • Will need to update edk2/RedfishPkg/Include/Library/RedfishCredentialLib.h and remove EDKII_REDFISH_AUTH_METHOD from API.
  • Add new design of getting permanent credentials in this driver. And leave the implementation to vendor as optional feature.
@nicklela nicklela added the enhancement New feature or request label Nov 29, 2022
@nicklela nicklela self-assigned this Nov 29, 2022
@nicklela nicklela added the migrated migrated to edk2-redfish-client label May 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request migrated migrated to edk2-redfish-client
Projects
None yet
Development

No branches or pull requests

1 participant