From 542521c9882e1a8a2c5c9ab6cee381b4dff44b59 Mon Sep 17 00:00:00 2001 From: Jonathon Knack <38335187+jknack0@users.noreply.github.com> Date: Tue, 11 Jun 2024 09:51:29 -0500 Subject: [PATCH] DEV-166315: Create a Dashboard SSO Login Screen (#1) * DEV-166315: add endpoint for getting session info * DEV-166315: add transition for session info * Add Pac4j entities temporary for the migration step * Add in the migration service --------- Co-authored-by: Amir Anjomshoaa --- data/ComponentMigration.csv | 4 ++ entity/TemporaryPac4jEntities.xml | 33 ++++++++++++ screen-extend/webroot/Login.xml | 15 +++++- service/ComponentMigration.xml | 88 +++++++++++++++++++++++++++++++ 4 files changed, 139 insertions(+), 1 deletion(-) create mode 100644 data/ComponentMigration.csv create mode 100644 entity/TemporaryPac4jEntities.xml create mode 100644 service/ComponentMigration.xml diff --git a/data/ComponentMigration.csv b/data/ComponentMigration.csv new file mode 100644 index 0000000..174305e --- /dev/null +++ b/data/ComponentMigration.csv @@ -0,0 +1,4 @@ +# TODO This file is temporary and should be removed after the Moqui-SSO release is completed for all FIs and Pac4j component is removed for all users +ComponentMigration.migrate#OidcValues, seed +one +1 \ No newline at end of file diff --git a/entity/TemporaryPac4jEntities.xml b/entity/TemporaryPac4jEntities.xml new file mode 100644 index 0000000..44446fb --- /dev/null +++ b/entity/TemporaryPac4jEntities.xml @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/screen-extend/webroot/Login.xml b/screen-extend/webroot/Login.xml index b202a9b..f9f514c 100644 --- a/screen-extend/webroot/Login.xml +++ b/screen-extend/webroot/Login.xml @@ -40,7 +40,7 @@ along with this software (see the LICENSE.md file). If not, see ec.artifactExecution.disableAuthz() - + @@ -77,6 +77,19 @@ along with this software (see the LICENSE.md file). If not, see + + + + + + diff --git a/service/ComponentMigration.xml b/service/ComponentMigration.xml new file mode 100644 index 0000000..c96972a --- /dev/null +++ b/service/ComponentMigration.xml @@ -0,0 +1,88 @@ + + + + + + The intention of this service to be run during the load service for new releases to move the values for Oidc tables related to Pac4j to Moqui-SSO tables corresponded to it + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +