diff options
author | Thomas Lenz <tlenz@iaik.tugraz.at> | 2014-03-05 19:42:07 +0100 |
---|---|---|
committer | Thomas Lenz <tlenz@iaik.tugraz.at> | 2014-03-05 19:42:07 +0100 |
commit | 7d2a9006e925f5999da0cc947394476780ed6dfa (patch) | |
tree | fb3a1806ec1273262fbc6dfe4bb63d068a8dd71f /id/server/auth/src/main/webapp/iframeOnlineBKU.html | |
parent | c70cc32f6c1eeed382433d20275f81d3bd2baa1c (diff) | |
download | moa-id-spss-7d2a9006e925f5999da0cc947394476780ed6dfa.tar.gz moa-id-spss-7d2a9006e925f5999da0cc947394476780ed6dfa.tar.bz2 moa-id-spss-7d2a9006e925f5999da0cc947394476780ed6dfa.zip |
update MOA-ID-Auth index.html
Diffstat (limited to 'id/server/auth/src/main/webapp/iframeOnlineBKU.html')
-rw-r--r-- | id/server/auth/src/main/webapp/iframeOnlineBKU.html | 67 |
1 files changed, 0 insertions, 67 deletions
diff --git a/id/server/auth/src/main/webapp/iframeOnlineBKU.html b/id/server/auth/src/main/webapp/iframeOnlineBKU.html deleted file mode 100644 index 0b6e7d71f..000000000 --- a/id/server/auth/src/main/webapp/iframeOnlineBKU.html +++ /dev/null @@ -1,67 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html lang="de">
- <head>
- <title>iFrame Online BKU</title>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta http-equiv="CACHE-CONTROL" content="NO-CACHE">
- <meta http-equiv="PRAGMA" content="NO-CACHE">
- <script type="text/javascript">
- // [MUSS] Geben Sie hier die URL zum Aufruf von MOA-ID an
- // z.B.: https://yoururl.at/moa-id-auth/StartAuthentication?Target=IT&OA=https://youronlineapplication.at
- //var MOA_ID_STARTAUTHENTICATION = "https://localhost:8443/moa-id-auth/StartAuthentication?Target=ZU&OA=https://localhost:8443/TestMOAID_OA/LoginServletExample?locale=de&test=123";
- // OA URL encoded (um parameter in OA URL zu uebergeben)
- var MOA_ID_STARTAUTHENTICATION = "https://localhost:8443/moa-id-auth/StartAuthentication?Target=ZU&OA=https%3A%2F%2Flocalhost%3A8443%2FTestMOAID_OA%2FLoginServletExample%3Flocale%3Dde%26test%3D123";
-
-
- // [MUSS] Geben Sie hier die URL zum MOA-ID Template fuer die Online BKU an
- // z.B.: "https://yoururl.at/moa-id-auth/template_onlineBKU.html"
- var URL_TO_ONLINEBKU_TEMPLATE = "https://localhost:8443/moa-id-auth/template_onlineBKU.html";
-
- // [MUSS] Geben Sie hier die URL zur Online BKU an
- // z.B.: value="https://yoururl.at/bkuonline/https-security-layer-request"
- // Hinweis: Diese URL muss auch bei den vertrauenswürdigen BKUs in der MOA-ID Konfiguration angegeben werden (siehe Element MOA-IDConfiguration/TrustedBKUs/BKUURL)
- var URL_TO_ONLINEBKU = "https://localhost:8444/bkuonline/https-security-layer-request";
-
- window.onload=function() {
- document.getElementById('moaidform').action = MOA_ID_STARTAUTHENTICATION;
- document.getElementById('Template').value = URL_TO_ONLINEBKU_TEMPLATE;
- document.getElementById('bkuURI').value = URL_TO_ONLINEBKU;
-
- var useMandate = gup("useMandate");
-
- if (useMandate == "true")
- document.getElementById('useMandate').value = "true";
- else
- document.getElementById('useMandate').value = "false";
-
- var ccc = gup("ccc");
- if (ccc != null)
- document.getElementById('ccc').value = ccc;
-
- document.moaidform.submit();
- return;
- }
-
- function gup(name) {
- name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");
- var regexS = "[\\?&]"+name+"=([^&#]*)";
- var regex = new RegExp( regexS );
- var results = regex.exec( window.location.href );
- if( results == null )
- return "";
- else
- return results[1];
- }
- </script>
- </head>
- <body>
- Bitte warten...
- <form method="POST" name="moaidform" id="moaidform">
- <input type="hidden" name="Template" id="Template">
- <input type="hidden" name="bkuURI" id="bkuURI">
- <input type="hidden" name="useMandate" id="useMandate">
- <input type="hidden" name="CCC" id="ccc">
- </form>
- <hr>
- </body>
-</html>
\ No newline at end of file |