aboutsummaryrefslogtreecommitdiff
path: root/id/server/stork2-commons/src/main/java
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2014-05-20 16:18:21 +0200
committerThomas Lenz <tlenz@iaik.tugraz.at>2014-05-20 16:18:21 +0200
commite147bdb7da8e48c1483c7732a0eb6b6f54699b66 (patch)
tree2ae0c9764f69394df4d159b9c59c34d82bd3fe1f /id/server/stork2-commons/src/main/java
parent4c2e09ce5137642dca0b79be60ccc37fa8ac5dc3 (diff)
downloadmoa-id-spss-e147bdb7da8e48c1483c7732a0eb6b6f54699b66.tar.gz
moa-id-spss-e147bdb7da8e48c1483c7732a0eb6b6f54699b66.tar.bz2
moa-id-spss-e147bdb7da8e48c1483c7732a0eb6b6f54699b66.zip
update version management
Diffstat (limited to 'id/server/stork2-commons/src/main/java')
-rw-r--r--id/server/stork2-commons/src/main/java/pvp_postbinding_template.html48
1 files changed, 48 insertions, 0 deletions
diff --git a/id/server/stork2-commons/src/main/java/pvp_postbinding_template.html b/id/server/stork2-commons/src/main/java/pvp_postbinding_template.html
new file mode 100644
index 000000000..2f93428b5
--- /dev/null
+++ b/id/server/stork2-commons/src/main/java/pvp_postbinding_template.html
@@ -0,0 +1,48 @@
+## ## Velocity Template for SAML 2 HTTP-POST binding ## ## Velocity
+context may contain the following properties ## action - String - the
+action URL for the form ## RelayState - String - the relay state for the
+message ## SAMLRequest - String - the Base64 encoded SAML Request ##
+SAMLResponse - String - the Base64 encoded SAML Response
+
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
+
+<body onload="document.forms[0].submit()">
+ <noscript>
+ <p>
+ <strong>Note:</strong> Since your browser does not support
+ JavaScript, you must press the Continue button once to proceed.
+ </p>
+ </noscript>
+
+
+ <div id="alert">Your login is being processed. Thank you for
+ waiting.</div>
+
+ <style type="text/css">
+<!--
+#alert {
+ margin: 100px 250px;
+ font-family: Verdana, Arial, Helvetica, sans-serif;
+ font-size: 14px;
+ font-weight: normal;
+}
+-->
+</style>
+
+ <form action="${action}" method="post" target="_parent">
+ <div>
+ #if($RelayState)<input type="hidden" name="RelayState"
+ value="${RelayState}" />#end #if($SAMLRequest)<input type="hidden"
+ name="SAMLRequest" value="${SAMLRequest}" />#end #if($SAMLResponse)<input
+ type="hidden" name="SAMLResponse" value="${SAMLResponse}" />#end
+
+ </div>
+ <noscript>
+ <div>
+ <input type="submit" value="Continue" />
+ </div>
+ </noscript>
+ </form>
+
+</body>
+</html> \ No newline at end of file