Skip to content

Authentication Prototype

Eugene edited this page Apr 15, 2021 · 1 revision

Branch: https://github.com/uniba-swt/swtbahn-cli/tree/auth_feature

  • Authentication using Onion’s auth handler wrapper
    • Users can be (in)active
    • Users have a role (admin, driver)
    • Users can be guests
    • Users can register
    • Assign roles based on SWTbahn platform
  • Select SWTbahn platform to startup and shutdown
    • Read configuration files of chosen platform
    • Server session knows the chosen platform
    • Users can request role to operate a platform
  • User details stored in SQLite database
  • Dockerised Nginx to serve static client assets and to handle security with clients (reverse proxy)
  • Suggested improvements
    • Separate upload and verification functionality from SWTbahn server
    • Document design approaches for separate services, e.g., logging service, upload service, verification service
Clone this wiki locally