diff options
author | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2018-07-25 14:03:48 +0200 |
---|---|---|
committer | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2018-07-25 14:03:48 +0200 |
commit | 9bf823366d5e8d0d9323b0dfddee2e2dc85c3b82 (patch) | |
tree | 11d5008978b964f527a63d0c31d7c91c6cc871ef /connector/src/main/resources | |
parent | 3d9eab4ded2491df573153ce130ea9b715316c91 (diff) | |
download | National_eIDAS_Gateway-9bf823366d5e8d0d9323b0dfddee2e2dc85c3b82.tar.gz National_eIDAS_Gateway-9bf823366d5e8d0d9323b0dfddee2e2dc85c3b82.tar.bz2 National_eIDAS_Gateway-9bf823366d5e8d0d9323b0dfddee2e2dc85c3b82.zip |
add new GUI
Diffstat (limited to 'connector/src/main/resources')
4 files changed, 288 insertions, 1 deletions
diff --git a/connector/src/main/resources/config/default_config.properties b/connector/src/main/resources/config/default_config.properties deleted file mode 100644 index 9eb856b8..00000000 --- a/connector/src/main/resources/config/default_config.properties +++ /dev/null @@ -1 +0,0 @@ -eidas.ms.context.url.prefix=https://labda.iaik.tugraz.at:8443/ms_connector/
\ No newline at end of file diff --git a/connector/src/main/resources/templates/countrySelection.html b/connector/src/main/resources/templates/countrySelection.html new file mode 100644 index 00000000..2eb0b5b4 --- /dev/null +++ b/connector/src/main/resources/templates/countrySelection.html @@ -0,0 +1,215 @@ +<!DOCTYPE html> +<html> +<head> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <link rel="stylesheet" href="$contextPath/css/css_country.css"/> + + +<title>eIDAS-Login</title> +</head> +<body> + <div id="page"> + <h2> Select your country </h2> + <div id="country"> + + <form class="block" method="post" action="$contextPath$submitEndpoint"> + <img class="countryimage" src="$contextPath/img/countries/Belgium-EU_.png" alt="Belgium-eID"/> + <input type="submit" value="Belgium"> + <input type="hidden" name="selectedCountry" value="BE"> + <input type="hidden" name="pendingid" value="$pendingReqID"> + </form> + + <form class="block" method="post" action="$contextPath$submitEndpoint"> + <img class="countryimage" src="$contextPath/img/countries/Bulgaria-EU_.png" alt="Bulgaria-eID"/> + <input type="submit" value="Bulgaria"> + <input type="hidden" name="selectedCountry" value="BG"> + <input type="hidden" name="pendingid" value="$pendingReqID"> + </form> + + <form class="block" method="post" action="$contextPath$submitEndpoint"> + <img class="countryimage" src="$contextPath/img/countries/Croatia-EU_.png" alt="Croatia-eID"/> + <input type="submit" value="Croatia"> + <input type="hidden" name="selectedCountry" value="HR"> + <input type="hidden" name="pendingid" value="$pendingReqID"> + </form> + + <form class="block" method="post" action="$contextPath$submitEndpoint"> + <img class="countryimage" src="$contextPath/img/countries/Cyprus-EU_.png" alt="Cyprus-eID"/> + <input type="submit" value="Cyprus"> + <input type="hidden" name="selectedCountry" value="CY"> + <input type="hidden" name="pendingid" value="$pendingReqID"> + </form> + + <form class="block" method="post" action="$contextPath$submitEndpoint"> + <img class="countryimage" src="$contextPath/img/countries/CzechRepublic-EU_.png" alt="CzechRepublic-eID"/> + <input type="submit" value="Czech Republic"> + <input type="hidden" name="selectedCountry" value="CZ"> + <input type="hidden" name="pendingid" value="$pendingReqID"> + </form> + + <form class="block" method="post" action="$contextPath$submitEndpoint"> + <img class="countryimage" src="$contextPath/img/countries/Denmark-EU_.png" alt="Denmark-eID"/> + <input type="submit" value="Denmark"> + <input type="hidden" name="selectedCountry" value="DK"> + <input type="hidden" name="pendingid" value="$pendingReqID"> + </form> + + <form class="block" method="post" action="$contextPath$submitEndpoint"> + <img class="countryimage" src="$contextPath/img/countries/germany-eu_.png" alt="Germany-eID"/> + <input type="submit" value="Germany" role="button" id="button"> + <input type="hidden" name="selectedCountry" value="DE"> + <input type="hidden" name="pendingid" value="$pendingReqID"> + </form> + + <form class="block" method="post" action="$contextPath$submitEndpoint"> + <img class="countryimage" src="$contextPath/img/countries/Estonia-EU_.png" alt="Estonia-eID"/> + <input type="submit" value="Estonia"> + <input type="hidden" name="selectedCountry" value="EE"> + <input type="hidden" name="pendingid" value="$pendingReqID"> + </form> + + <form class="block" method="post" action="$contextPath$submitEndpoint"> + <img class="countryimage" src="$contextPath/img/countries/Finland-EU_.png" alt="Finland-eID"/> + <input type="submit" value="Finland"> + <input type="hidden" name="selectedCountry" value="FI"> + <input type="hidden" name="pendingid" value="$pendingReqID"> + </form> + + <form class="block" method="post" action="$contextPath$submitEndpoint"> + <img class="countryimage" src="$contextPath/img/countries/France-EU_.png" alt="France-eID"/> + <input type="submit" value="France"> + <input type="hidden" name="selectedCountry" value="FR"> + <input type="hidden" name="pendingid" value="$pendingReqID"> + </form> + + <form class="block" method="post" action="$contextPath$submitEndpoint"> + <img class="countryimage" src="$contextPath/img/countries/Greece-EU_.png" alt="Greece-eID"/> + <input type="submit" value="Greece"> + <input type="hidden" name="selectedCountry" value="GR"> + <input type="hidden" name="pendingid" value="$pendingReqID"> + </form> + + <form class="block" method="post" action="$contextPath$submitEndpoint"> + <img class="countryimage" src="$contextPath/img/countries/Hungary-EU_.png" alt="Hungary-eID"/> + <input type="submit" value="Hungary"> + <input type="hidden" name="selectedCountry" value="HU"> + <input type="hidden" name="pendingid" value="$pendingReqID"> + </form> + + <form class="block" method="post" action="$contextPath$submitEndpoint"> + <img class="countryimage" src="$contextPath/img/countries/Iceland.png" alt="Italy-eID"/> + <input type="submit" value="Iceland"> + <input type="hidden" name="selectedCountry" value="IS"> + <input type="hidden" name="pendingid" value="$pendingReqID"> + </form> + + <form class="block" method="post" action="$contextPath$submitEndpoint"> + <img class="countryimage" src="$contextPath/img/countries/Ireland-EU_.png" alt="Ireland-eID"/> + <input type="submit" value="Ireland"> + <input type="hidden" name="selectedCountry" value="IE"> + <input type="hidden" name="pendingid" value="$pendingReqID"> + </form> + + <form class="block" method="post" action="$contextPath$submitEndpoint"> + <img class="countryimage" src="$contextPath/img/countries/Italy-EU_.png" alt="Italy-eID"/> + <input type="submit" value="Italy"> + <input type="hidden" name="selectedCountry" value="IT"> + <input type="hidden" name="pendingid" value="$pendingReqID"> + </form> + + <form class="block" method="post" action="$contextPath$submitEndpoint"> + <img class="countryimage" src="$contextPath/img/countries/Latvia-EU_.png" alt="Latvia-eID"/> + <input type="submit" value="Latvia"> + <input type="hidden" name="selectedCountry" value="LV"> + <input type="hidden" name="pendingid" value="$pendingReqID"> + </form> + + <form class="block" method="post" action="$contextPath$submitEndpoint"> + <img class="countryimage" src="$contextPath/img/countries/Lithuania-EU_.png" alt="Latvia-eID"/> + <input type="submit" value="Lithuania"> + <input type="hidden" name="selectedCountry" value="LT"> + <input type="hidden" name="pendingid" value="$pendingReqID"> + </form> + + <form class="block" method="post" action="$contextPath$submitEndpoint"> + <img class="countryimage" src="$contextPath/img/countries/Luxembourg-EU_.png" alt="Luxembourg-eID"/> + <input type="submit" value="Luxembourg"> + <input type="hidden" name="selectedCountry" value="LU"> + <input type="hidden" name="pendingid" value="$pendingReqID"> + </form> + + <form class="block" method="post" action="$contextPath$submitEndpoint"> + <img class="countryimage" src="$contextPath/img/countries/Malta-EU_.png" alt="Malta-eID"/> + <input type="submit" value="Malta"> + <input type="hidden" name="selectedCountry" value="MT"> + <input type="hidden" name="pendingid" value="$pendingReqID"> + </form> + + <form class="block" method="post" action="$contextPath$submitEndpoint"> + <img class="countryimage" src="$contextPath/img/countries/TheNetherlands-EU_.png" alt="Netherlands-eID"/> + <input type="submit" value="Netherlands"> + <input type="hidden" name="selectedCountry" value="NL"> + <input type="hidden" name="pendingid" value="$pendingReqID"> + </form> + + <form class="block" method="post" action="$contextPath$submitEndpoint"> + <img class="countryimage" src="$contextPath/img/countries/Poland-EU_.png" alt="Poland-eID"/> + <input type="submit" value="Poland"> + <input type="hidden" name="selectedCountry" value="PL"> + <input type="hidden" name="pendingid" value="$pendingReqID"> + </form> + + <form class="block" method="post" action="$contextPath$submitEndpoint"> + <img class="countryimage" src="$contextPath/img/countries/Portugal-EU_.png" alt="Portugal-eID"/> + <input type="submit" value="Portugal"> + <input type="hidden" name="selectedCountry" value="PT"> + <input type="hidden" name="pendingid" value="$pendingReqID"> + </form> + + <form class="block" method="post" action="$contextPath$submitEndpoint"> + <img class="countryimage" src="$contextPath/img/countries/Romania-EU_.png" alt="Romania-eID"/> + <input type="submit" value="Romania"> + <input type="hidden" name="selectedCountry" value="RO"> + <input type="hidden" name="pendingid" value="$pendingReqID"> + </form> + + <form class="block" method="post" action="$contextPath$submitEndpoint"> + <img class="countryimage" src="$contextPath/img/countries/Slovakia-EU_.png" alt="Slovakia-eID"/> + <input type="submit" value="Slovakia"> + <input type="hidden" name="selectedCountry" value="SK"> + <input type="hidden" name="pendingid" value="$pendingReqID"> + </form> + + <form class="block" method="post" action="$contextPath$submitEndpoint"> + <img class="countryimage" src="$contextPath/img/countries/Slovenia-EU_.png" alt="Slovenia-eID"/> + <input type="submit" value="Slovenia"> + <input type="hidden" name="selectedCountry" value="SI"> + <input type="hidden" name="pendingid" value="$pendingReqID"> + </form> + + <form class="block" method="post" action="$contextPath$submitEndpoint"> + <img class="countryimage" src="$contextPath/img/countries/Spain-EU_.png" alt="Spain-eID"/> + <input type="submit" value="Spain"> + <input type="hidden" name="selectedCountry" value="ES"> + <input type="hidden" name="pendingid" value="$pendingReqID"> + </form> + + <form class="block" method="post" action="$contextPath$submitEndpoint"> + <img class="countryimage" src="$contextPath/img/countries/Sweden-EU_.png" alt="Sweden-eID"/> + <input type="submit" value="Sweden"> + <input type="hidden" name="selectedCountry" value="SE"> + <input type="hidden" name="pendingid" value="$pendingReqID"> + </form> + + <form class="block" method="post" action="$contextPath$submitEndpoint"> + <img class="countryimage" src="$contextPath/img/countries/UnitedKingdom-EU_.png" alt="UnitedKingdom-eID"/> + <input type="submit" value="United Kingdom"> + <input type="hidden" name="selectedCountry" value="UK"> + <input type="hidden" name="pendingid" value="$pendingReqID"> + </form> + + </div> + </div> +</body> +</html> diff --git a/connector/src/main/resources/templates/error_message.html b/connector/src/main/resources/templates/error_message.html new file mode 100644 index 00000000..fc9b75a1 --- /dev/null +++ b/connector/src/main/resources/templates/error_message.html @@ -0,0 +1,37 @@ +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> +<head> + <meta content="text/html; charset=utf-8" http-equiv="Content-Type"> + <link rel="stylesheet" href="$contextPath/css/css_error.css" /> + + <title>An error arise ... </title> +</head> + +<body> + <div id="page"> + <div id="page1" class="case selected-case" role="main"> + <h2 class="OA_header" role="heading">Authentication error arise</h2> + <!--div id="main"--> + <!--div id="leftcontent" class="hell" role="application"--> + + + + <div class="hell" role="application" > + <p>The authentication stops on account of a process error:</p> + <br/> + <p><b>Error Code:</b> $errorCode</p> + <p><b>Error Message:</b >$errorMsg</p> + </div> + + + #if($stacktrace) + <div> + <p><b>Stacktrace:</b> $stacktrace</p> + </div> + #end + + <!--/div---> + <!--/div--> + </div> + </div> +</body> +</html>
\ No newline at end of file diff --git a/connector/src/main/resources/templates/pvp2_post_binding.html b/connector/src/main/resources/templates/pvp2_post_binding.html new file mode 100644 index 00000000..90858237 --- /dev/null +++ b/connector/src/main/resources/templates/pvp2_post_binding.html @@ -0,0 +1,36 @@ +## ## 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 +<!DOCTYPE html> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> +<head> + <script src="$contextPath/autocommit.js"></script> +</head> +<body> + <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> + + <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 |