Skip to content
This repository has been archived by the owner on Sep 27, 2022. It is now read-only.

MITREid Connect server backed by an Elexis database

License

Notifications You must be signed in to change notification settings

elexis/elexis-openid-connect-overlay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Elexis overlay for MITREid Connect

NOTE: This solution is not used anymore. Elexis-Environment (EE) uses Keycloak as integrated service.

This overlay creates a MITREid Connect web-application configured for usage with an Elexis database.

The webapp requires the file elexis-connection.xml to exist in the user home's elexis-server directory.

Overlay modifications

  • Use the Elexis-Database configured via elexis-connection.xml as user repository.
  • Use H2 as OpenID Database, and persist the database to ~/elexis-server/openid
  • Enable Resource Owner Credentials aka password flow
  • Programmatically initialize the OpenID database
    • Insert the required systems scopes
    • Add an introspection client for Elexis-Server
  • On startup with -Dopenid.unit-test=true add a unit-test client supporting password grant type
  • Read the mainContact to show in the web-interface from the Elexis database
  • Implement 2-factor-authentication using TOTP
  • Hardcode base tag in header.tag to /openid/
  • Dynamic issuer resolution according to hostname (can be manually overriden with the openid.issuer parameter)
  • Ready for >= Java 11 (include missing JAXB libraries)

TODO

Relevant links / discussions

Building

Run mvn package to generate the overlay openid.war

Testing locally

From https://github.com/iipc/openwayback-sample-overlay

  • mvn jetty:run-war to start an instance of Jetty for testing

About

MITREid Connect server backed by an Elexis database

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages