Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titleuser.json
{
	"userID": "Musha_OpenMRS",
	"name": "OpenMRS MushMusha instance",
	"roles": [ "OpenMRS_PoC", "PoC" ],
	"password-hash": "",
	"cert": ""
}

When authentication is set to HTTP basic auth then connect middleware is setup to intercept the request as soon as it enters the HIM as shown above. This middleware will read user details out of the MongoDB store to determine if the user can be authenticated. If the user is rejected an error is returned else the request is considered authenticated and is then passed onto the authorization step.

...