imi-ms / MoPat

Mobile Patient Survey (MoPat) is a Java based web application to create, distribute, complete and export medical questionnaires.
Apache License 2.0
8 stars 1 forks source link

Implement optional quick login functionality with a Pin #57

Open ywarnecke opened 3 months ago

ywarnecke commented 3 months ago

Currently users always have to re-login with their (hopefully long and complicated) passwords, everytime they want to start a new survey. This hinders the productivity in a clinical environment.

However, since MoPat can have direct access to patient information it is not a possible to disable security entirely.

Instead, we want to implement an optional feature to enable a quick re-login for already authorized uses with a pin. So after a patient has completed their survey, only the pin has to be re-entered to start a new survey.

ywarnecke commented 3 months ago

The currently planned workflow now looks like this:

ywarnecke commented 2 months ago

Added additional security mechanism: A cron job runs every 5 minutes and checks, if a session is inactive for 25 minutes. If that is the case, the session will be processed in two ways: