diff --git a/pom.xml b/pom.xml
index d1c3524..77be41e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -8,11 +8,14 @@
1.0.0-BUILD-SNAPSHOT
1.6
- 3.2.3.RELEASE
+ 4.3.23.RELEASE
1.6.9
1.5.10
3.1.4.RELEASE
- 1.1.12
+ 1.1.19
+ ${basedir}
+ n
+
@@ -31,7 +34,7 @@
commons-logging
commons-logging
-
+
@@ -39,14 +42,14 @@
spring-webmvc
${org.springframework-version}
-
+
org.aspectj
aspectjrt
${org.aspectj-version}
-
-
+
+
org.slf4j
@@ -96,7 +99,7 @@
javax.inject
1
-
+
javax.servlet
@@ -115,7 +118,7 @@
jstl
1.2
-
+
junit
@@ -123,17 +126,17 @@
4.7
test
-
- org.springframework.security
- spring-security-taglibs
- ${spring.security.version}
-
-
- org.springframework
- *
-
-
-
+
+ org.springframework.security
+ spring-security-taglibs
+ ${spring.security.version}
+
+
+ org.springframework
+ *
+
+
+
@@ -185,25 +188,38 @@
- org.eclipse.jetty
- jetty-maven-plugin
- 9.3.6.v20151106
-
- ${project.basedir}/etc/jetty/jetty.xml,${project.basedir}/etc/jetty/jetty-ssl.xml,${project.basedir}/etc/jetty/jetty-https.xml
-
- /simple-web-app
-
-
-
- org.eclipse.jetty.annotations.maxWait
- 240
-
-
-
- -Xdebug -Xrunjdwp:transport=dt_socket,address=5001,server=y,suspend=n
-
-
+ org.eclipse.jetty
+ jetty-maven-plugin
+ 9.3.6.v20151106
+
+ ${project.basedir}/etc/jetty/jetty.xml,${project.basedir}/etc/jetty/jetty-ssl.xml,${project.basedir}/etc/jetty/jetty-https.xml
+
+ /simple-web-app
+
+
+
+ org.eclipse.jetty.annotations.maxWait
+ 240
+
+
+
+ ${webapp.jvmArgs} -Xdebug -Xrunjdwp:transport=dt_socket,address=5001,server=y,suspend=${debug.suspend} -Dwebapp.home=${webapp.home}
+
+
simple-web-app
+
+
+ windows
+
+
+ windows
+
+
+
+ /${basedir}
+
+
+
diff --git a/src/main/webapp/WEB-INF/servlet.properties b/src/main/webapp/WEB-INF/servlet.properties
index 0f1360f..d1ec1ee 100644
--- a/src/main/webapp/WEB-INF/servlet.properties
+++ b/src/main/webapp/WEB-INF/servlet.properties
@@ -1,3 +1,5 @@
+host=mmoayyed.unicon.net
+
# server.url=https://mmoayyed.unicon.net:8443/idp/
# server.authz.url=${server.url}profile/oidc/authorize
# server.token.url=${server.url}profile/oidc/token
@@ -5,7 +7,7 @@
# server.jwks.url=${server.url}profile/oidc/jwk
# server.registration.url=${server.url}profile/oidc/register
-server.url=https://mmoayyed.unicon.net:8443/cas/oidc/
+server.url=https://${host}:8443/cas/oidc/
# server.url=http://localhost:8080/openid-connect-server-webapp/
# Only applies to static/hybrid server config
@@ -24,4 +26,7 @@ serverConfigurationService=staticServerConfigurationService
# clientConfigurationService=dynamicClientConfigurationService
clientConfigurationService=staticClientConfigurationService
authRequestOptionsService=staticAuthRequestOptionsService
-authRequestUrlBuilder=plainAuthRequestUrlBuilder
\ No newline at end of file
+authRequestUrlBuilder=plainAuthRequestUrlBuilder
+
+webapp.url=https://${host}:9443/simple-web-app/
+webapp.login.url=${webapp.url}openid_connect_login
diff --git a/src/main/webapp/WEB-INF/spring/appServlet/servlet-context.xml b/src/main/webapp/WEB-INF/spring/appServlet/servlet-context.xml
index 91f86d9..8832b47 100644
--- a/src/main/webapp/WEB-INF/spring/appServlet/servlet-context.xml
+++ b/src/main/webapp/WEB-INF/spring/appServlet/servlet-context.xml
@@ -29,13 +29,24 @@
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
+
+
-
+
-
+
diff --git a/src/main/webapp/WEB-INF/views/login.jsp b/src/main/webapp/WEB-INF/views/login.jsp
index 6145ff1..f6061a4 100644
--- a/src/main/webapp/WEB-INF/views/login.jsp
+++ b/src/main/webapp/WEB-INF/views/login.jsp
@@ -1,5 +1,6 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
+<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="security" uri="http://www.springframework.org/security/tags" %>
<%@ taglib prefix="o" tagdir="/WEB-INF/tags"%>
@@ -42,7 +43,7 @@