Add support for authentication other than VistA based
VistA based authentication has been removed.
Simple username password based authentication has been added.
Tasks:
- [x] Specify Usernames/password/permissions via STDIN
- [x] Specify Usernames/password/permissions via environment variable `ydbgui_users`
- [x] Login
- [x] Provide tokens
- [x] Remove Basic Authentication old username/password implementation
- [x] Determine authorization (RO/RW) at runtime
- [x] Enable token timeout code
- [x] Token clean-up by time
- [x] Enable token clean-up by time code
- [x] Timeout enforcement
- [x] Logout
- [x] Disable Timeout and Logout until we generate random tokens
- [x] MR
- [x] Share token data between parent and child processes
- [x] Dynamically generate tokens at runtime (currently static)
- [x] Enable Timeout and Logout
- [x] Decide what to do about multiple servers running if we have a single database.
- [x] Documentation
- [x] MR
- [ ] File-based usernames/passwords with password encryption: implementation to be decided
- [ ] PAM authentication (RO- cannot do RW as we don't have that information right now)
- [ ] Documentation
- [ ] MR
issue