openBackhaul / AdministratorAdministration

Administrates the list of administrators of the application layer.
Apache License 2.0
5 stars 8 forks source link

Support Version 2.0.0 changes to support ApplicationData #131

Closed PrathibaJee closed 1 year ago

PrathibaJee commented 1 year ago

As per the specification , require to include an application data that shall consists of the information previously stored in the admin profile. However , managing the details inside the applicationData file is yet to be decided in the issue https://github.com/openBackhaul/AdministratorAdministration/issues/28.

Include a ApplicationData file in JSON format , that consists of the following details ,

administrator-id // unique number generated for every instance
administrator-name
user-name
authorization
allowed-methods

example :

{
  "administrator-credential-list":
  [
    {
      "administrator-id" : "1",
      "administrator-name" : "administrator"
      "user-name" : "admin.user"
      "authorization" : " *** Basic Ath Code *** "
      "allowed-methods" : "ALL"
    }
  ]
}

Further need to decide on the folllowing ,

  1. How to include the credential list during the startup of the application
  2. How to modify/delete an entry in the credential list