From 56ed4518d7978c064af5f240494bf587136c93b0 Mon Sep 17 00:00:00 2001 From: rudolf Date: Mon, 15 Mar 2004 16:07:52 +0000 Subject: RSCH git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@99 d688527b-c9ab-4aba-bd8d-4036d912da1d --- id.server/html/proxy/WEB-INF/web.xml | 23 ++++++++++++++++++ id.server/html/proxy/errorpage-proxy.jsp | 41 ++++++++++++++++++++++++++++++++ id.server/html/proxy/message-proxy.jsp | 20 ++++++++++++++++ 3 files changed, 84 insertions(+) create mode 100644 id.server/html/proxy/errorpage-proxy.jsp create mode 100644 id.server/html/proxy/message-proxy.jsp (limited to 'id.server/html/proxy') diff --git a/id.server/html/proxy/WEB-INF/web.xml b/id.server/html/proxy/WEB-INF/web.xml index 9145a48d6..ab67855c2 100644 --- a/id.server/html/proxy/WEB-INF/web.xml +++ b/id.server/html/proxy/WEB-INF/web.xml @@ -16,6 +16,25 @@ Update MOA-ID Proxy configuration from the configuration file at.gv.egovernment.moa.id.proxy.servlet.ConfigurationServlet + + + + jspservlet + org.apache.jasper.servlet.JspServlet + + + + + + jspservlet + /errorpage-proxy.jsp + + + + jspservlet + /message-proxy.jsp + + ConfigurationUpdate /ConfigurationUpdate @@ -27,6 +46,10 @@ 30 + + 500 + /errorpage.jsp + ConfigurationUpdate diff --git a/id.server/html/proxy/errorpage-proxy.jsp b/id.server/html/proxy/errorpage-proxy.jsp new file mode 100644 index 000000000..afb4b2281 --- /dev/null +++ b/id.server/html/proxy/errorpage-proxy.jsp @@ -0,0 +1,41 @@ + +<%@ page contentType="text/html; charset=UTF-8" %> + + +Ein Fehler ist aufgetreten + +<% Throwable exceptionThrown = (Throwable)request.getAttribute("ExceptionThrown"); + String errorMessage = (String)request.getAttribute("ErrorMessage"); + String wrongParameters = (String)request.getAttribute("WrongParameters"); +%> + + +

Fehler bei der Anmeldung

+

Bei der Anmeldung ist ein Fehler aufgetreten.

+ +<% if (errorMessage != null) { %> +

+<%= errorMessage%>
+

+<% } %> +<% if (exceptionThrown != null) { %> +

+<%= exceptionThrown.getMessage()%> +

+<% } %> +<% if (wrongParameters != null) { %> +

Die Angabe der Parameter ist unvollständig.

+ <%= wrongParameters %>
+

+ Beispiele für korrekte Links zur MOA-ID Authentisierung sind: +

+

+<a href="https://<MOA-URL>/StartAuthentication?Target=<Geschäftsbereich>&OA=<OA-URL>&Template=<Template-URL>"> +

+

+<a href="https://<MOA-URL>/SelectBKU?Target=<Geschäftsbereich>&OA=<OA-URL>&Template=<Template-URL>&BKUSelectionTemplate=<BKU-Template-URL>"> +

+

Die Angabe der Parameter "Template" und "BKUSelectionTemplate" ist optional.

+<% } %> + + \ No newline at end of file diff --git a/id.server/html/proxy/message-proxy.jsp b/id.server/html/proxy/message-proxy.jsp new file mode 100644 index 000000000..0d970898a --- /dev/null +++ b/id.server/html/proxy/message-proxy.jsp @@ -0,0 +1,20 @@ + +<%@ page contentType="text/html; charset=UTF-8" %> + + +MOA-ID Proxy + +<% String message = (String)request.getAttribute("Message"); +%> + + +

MOA-ID Proxy

+ +<% if (message != null) { %> +

+<%= message%>
+

+<% } %> + + + \ No newline at end of file -- cgit v1.2.3