diff options
author | Florian Reimair <florian.reimair@iaik.tugraz.at> | 2014-01-26 14:15:30 +0100 |
---|---|---|
committer | Florian Reimair <florian.reimair@iaik.tugraz.at> | 2014-01-27 16:43:21 +0100 |
commit | 8edc54bc0b5fc3f75a88c7d01fb8b0d7b63cfe41 (patch) | |
tree | ce45f7241108a913d6df667d959ea182324616e5 /id/server/idserverlib/src | |
parent | f5a9a02b839f036eb0ebaa6c58526a2483a3d4b7 (diff) | |
download | moa-id-spss-8edc54bc0b5fc3f75a88c7d01fb8b0d7b63cfe41.tar.gz moa-id-spss-8edc54bc0b5fc3f75a88c7d01fb8b0d7b63cfe41.tar.bz2 moa-id-spss-8edc54bc0b5fc3f75a88c7d01fb8b0d7b63cfe41.zip |
moved saml post binding template
Diffstat (limited to 'id/server/idserverlib/src')
-rw-r--r-- | id/server/idserverlib/src/main/resources/resources/templates/saml2-post-binding-moa.vm | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/id/server/idserverlib/src/main/resources/resources/templates/saml2-post-binding-moa.vm b/id/server/idserverlib/src/main/resources/resources/templates/saml2-post-binding-moa.vm new file mode 100644 index 000000000..cac0bda76 --- /dev/null +++ b/id/server/idserverlib/src/main/resources/resources/templates/saml2-post-binding-moa.vm @@ -0,0 +1,38 @@ +## +## 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 +## Contains target attribute to delegate PEPS authentication out of iFrame + +<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> + + <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 |