diff --git a/openid-connect-server-webapp/src/main/resources/openid.properties b/openid-connect-server-webapp/src/main/resources/openid.properties new file mode 100644 index 0000000000..bd0acdef4f --- /dev/null +++ b/openid-connect-server-webapp/src/main/resources/openid.properties @@ -0,0 +1,8 @@ +# OpenID server configuration +openid.issuer=http://localhost:8080/openid-connect-server-webapp/ + +# Database configuration +jdbc.url=jdbc:hsqldb:mem:oic;sql.syntax_mys=true +#jdbc.url=jdbc:hsqldb:file:/tmp/oic;sql.syntax_mys=true +jdbc.username=oic +jdbc.password=oic diff --git a/openid-connect-server-webapp/src/main/webapp/WEB-INF/application-context.xml b/openid-connect-server-webapp/src/main/webapp/WEB-INF/application-context.xml index 37b37ad9da..1874e860d1 100644 --- a/openid-connect-server-webapp/src/main/webapp/WEB-INF/application-context.xml +++ b/openid-connect-server-webapp/src/main/webapp/WEB-INF/application-context.xml @@ -1,15 +1,15 @@ @@ -59,7 +67,7 @@ - + @@ -104,12 +112,12 @@ - - + @@ -133,13 +141,13 @@ - + - + @@ -169,10 +177,10 @@ - - @@ -183,10 +191,10 @@ - - @@ -198,8 +206,8 @@ @@ -217,7 +225,7 @@ - + @@ -240,7 +248,7 @@ - + @@ -254,7 +262,7 @@ - + @@ -262,7 +270,7 @@ - + @@ -282,11 +290,11 @@ - - @@ -304,7 +312,7 @@ - + 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 8bab6d361b..e00637af50 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 @@ -1,15 +1,15 @@ - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + - - - + + + + + + + + + + + + - + + + + + + + + + + diff --git a/openid-connect-server-webapp/src/main/webapp/WEB-INF/server-config.xml b/openid-connect-server-webapp/src/main/webapp/WEB-INF/server-config.xml index e0c5eca74b..6c3bb096b7 100644 --- a/openid-connect-server-webapp/src/main/webapp/WEB-INF/server-config.xml +++ b/openid-connect-server-webapp/src/main/webapp/WEB-INF/server-config.xml @@ -33,7 +33,7 @@ - + diff --git a/openid-connect-server-webapp/src/main/webapp/WEB-INF/web.xml b/openid-connect-server-webapp/src/main/webapp/WEB-INF/web.xml index e1e40f7549..1225bbc4d8 100644 --- a/openid-connect-server-webapp/src/main/webapp/WEB-INF/web.xml +++ b/openid-connect-server-webapp/src/main/webapp/WEB-INF/web.xml @@ -1,15 +1,15 @@ contextConfigLocation @@ -31,6 +31,11 @@ /WEB-INF/application-context.xml + + + spring.profiles.active + hsqldb + @@ -71,9 +76,9 @@ true - + /error - +