From c55a1fe209b10432686d662f5c8c571f3a8c2564 Mon Sep 17 00:00:00 2001 From: Bradley Johnson Date: Fri, 23 Nov 2018 16:19:05 -0500 Subject: [PATCH] OpenID Connect Server working with local MySQL instance --- openid-connect-server-webapp/pom.xml | 11 ++++ .../src/main/webapp/WEB-INF/data-context.xml | 54 +++++++++---------- .../src/main/webapp/WEB-INF/tags/topbar.tag | 2 +- .../src/main/webapp/WEB-INF/user-context.xml | 2 +- 4 files changed, 40 insertions(+), 29 deletions(-) diff --git a/openid-connect-server-webapp/pom.xml b/openid-connect-server-webapp/pom.xml index 9a4c45bc3d..8c3911ed4e 100644 --- a/openid-connect-server-webapp/pom.xml +++ b/openid-connect-server-webapp/pom.xml @@ -83,6 +83,10 @@ /openid-connect-server-webapp + + + 8080 + @@ -147,6 +151,13 @@ com.zaxxer HikariCP + + + + mysql + mysql-connector-java + 5.1.6 + Deployable package of the OpenID Connect server diff --git a/openid-connect-server-webapp/src/main/webapp/WEB-INF/data-context.xml b/openid-connect-server-webapp/src/main/webapp/WEB-INF/data-context.xml index 67d8bd146b..02a2988c8e 100644 --- a/openid-connect-server-webapp/src/main/webapp/WEB-INF/data-context.xml +++ b/openid-connect-server-webapp/src/main/webapp/WEB-INF/data-context.xml @@ -22,56 +22,56 @@ xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.3.xsd http://www.springframework.org/schema/jdbc http://www.springframework.org/schema/jdbc/spring-jdbc-4.3.xsd"> - + + - + --> - + + The following file is for the jdbc-user-service spring security implementation - + The following files are for safely bootstrapping users and clients into the database - + --> - + - - - - - - + + + + + + - - - - + + + + - - - - - - - - + diff --git a/openid-connect-server-webapp/src/main/webapp/WEB-INF/tags/topbar.tag b/openid-connect-server-webapp/src/main/webapp/WEB-INF/tags/topbar.tag index 1bce4a1c5f..e870c33576 100644 --- a/openid-connect-server-webapp/src/main/webapp/WEB-INF/tags/topbar.tag +++ b/openid-connect-server-webapp/src/main/webapp/WEB-INF/tags/topbar.tag @@ -104,4 +104,4 @@ $('#logoutForm').submit(); }); }); - \ No newline at end of file + diff --git a/openid-connect-server-webapp/src/main/webapp/WEB-INF/user-context.xml b/openid-connect-server-webapp/src/main/webapp/WEB-INF/user-context.xml index 2aff943637..5e5eca4298 100644 --- a/openid-connect-server-webapp/src/main/webapp/WEB-INF/user-context.xml +++ b/openid-connect-server-webapp/src/main/webapp/WEB-INF/user-context.xml @@ -51,7 +51,7 @@ - +