aboutsummaryrefslogtreecommitdiff
path: root/id/server/idserverlib/src/main/resources
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2014-06-13 14:05:47 +0200
committerThomas Lenz <tlenz@iaik.tugraz.at>2014-06-13 14:05:47 +0200
commit39d7088511d0959a9453112b5471c1cf9fd99d88 (patch)
treec8b90b80927db9f21d12b1193c0bb56323072e39 /id/server/idserverlib/src/main/resources
parent72b7bf07c9c070bc8aa4020568c849cb749c0dd8 (diff)
downloadmoa-id-spss-39d7088511d0959a9453112b5471c1cf9fd99d88.tar.gz
moa-id-spss-39d7088511d0959a9453112b5471c1cf9fd99d88.tar.bz2
moa-id-spss-39d7088511d0959a9453112b5471c1cf9fd99d88.zip
add timeout to frontchannel SLO
Diffstat (limited to 'id/server/idserverlib/src/main/resources')
-rw-r--r--id/server/idserverlib/src/main/resources/resources/templates/slo_template.html15
1 files changed, 14 insertions, 1 deletions
diff --git a/id/server/idserverlib/src/main/resources/resources/templates/slo_template.html b/id/server/idserverlib/src/main/resources/resources/templates/slo_template.html
index a652855c4..88279ee96 100644
--- a/id/server/idserverlib/src/main/resources/resources/templates/slo_template.html
+++ b/id/server/idserverlib/src/main/resources/resources/templates/slo_template.html
@@ -375,11 +375,24 @@
</style>
+ #if($timeoutURL)
+ <script type="text/javascript">
+ function sloTimeOut() {
+ window.location.href="$timeoutURL";
+
+ }
+
+ </script>
+ #end
<title>Single LogOut Vorgang ... </title>
</head>
-<body>
+#if($timeoutURL)
+ <body onload='setTimeout(sloTimeOut(), $timeout);'>
+#else
+ <body>
+#end
<noscript>
<p>
<strong>Note:</strong> Since your browser does not support