diff options
Diffstat (limited to 'id/server/proxy/src')
| -rw-r--r-- | id/server/proxy/src/main/webapp/errorpage-proxy_debug.jsp | 53 | ||||
| -rw-r--r-- | id/server/proxy/src/main/webapp/errorpage-proxy_empty.jsp | 13 | 
2 files changed, 66 insertions, 0 deletions
| diff --git a/id/server/proxy/src/main/webapp/errorpage-proxy_debug.jsp b/id/server/proxy/src/main/webapp/errorpage-proxy_debug.jsp new file mode 100644 index 000000000..8e1e331d6 --- /dev/null +++ b/id/server/proxy/src/main/webapp/errorpage-proxy_debug.jsp @@ -0,0 +1,53 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
 +<%@ page contentType="text/html; charset=UTF-8" %>
 +<html>
 +<head>
 +<title>Ein Fehler ist aufgetreten</title>
 +</head>
 +<% Throwable exceptionThrown = (Throwable)request.getAttribute("ExceptionThrown");
 +   String errorMessage = (String)request.getAttribute("ErrorMessage");
 +   String wrongParameters = (String)request.getAttribute("WrongParameters");
 +   String logLevel = (String)request.getAttribute("LogLevel");
 +%>
 +
 +<body>
 +<h1>Fehler bei der Anmeldung</h1>
 +<p>Bei der Anmeldung ist ein Fehler aufgetreten.</p>
 +
 +<% if (logLevel != null) { %>
 +<% if (errorMessage != null) { %>
 +<p>
 +<%= errorMessage%><br>
 +</p>
 +<% } %>
 +<% if (exceptionThrown != null) { %>
 +<p> 
 +<%= exceptionThrown.getMessage()%>
 +</p>
 +<% } %>
 +<% if (wrongParameters != null) { %>
 +<p>Die Angabe der Parameter ist unvollständig.<br></p>
 +<b> <%= wrongParameters %> </b><br>
 +<p>
 +   Beispiele für korrekte Links zur MOA-ID Authentisierung sind:
 +</p>
 +<p>
 +<tt><a href="https://<MOA-URL>/StartAuthentication?Target=<Geschäftsbereich>&OA=<OA-URL>&Template=<Template-URL>"></tt>
 +</p>
 +<p>
 +<tt><a href="https://<MOA-URL>/SelectBKU?Target=<Geschäftsbereich>&OA=<OA-URL>&Template=<Template-URL>&BKUSelectionTemplate=<BKU-Template-URL>"></tt>
 +</p>
 +<p>
 +Im Falle einer Applikation aus dem privatwirtschaftlichen Bereich (type="businessService") entfällt die Angabe des <i>Target</i> Parameters:
 +</p>
 +<p>
 +<tt><a href="https://<MOA-URL>/StartAuthentication?OA=<OA-URL>&Template=<Template-URL>"></tt>
 +</p>
 +<p>
 +<tt><a href="https://<MOA-URL>/SelectBKU?OA=<OA-URL>&Template=<Template-URL>&BKUSelectionTemplate=<BKU-Template-URL>"></tt>
 +</p>
 +<p>Die Angabe der Parameter <tt>"Template"</tt> und <tt>"BKUSelectionTemplate"</tt> ist optional.</p>
 +<% } %>
 +<% } %>
 +</body>
 +</html>
\ No newline at end of file diff --git a/id/server/proxy/src/main/webapp/errorpage-proxy_empty.jsp b/id/server/proxy/src/main/webapp/errorpage-proxy_empty.jsp new file mode 100644 index 000000000..40739efea --- /dev/null +++ b/id/server/proxy/src/main/webapp/errorpage-proxy_empty.jsp @@ -0,0 +1,13 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
 +<%@ page contentType="text/html; charset=UTF-8" %>
 +<html>
 +<head>
 +<title>Ein Fehler ist aufgetreten</title>
 +</head>
 +
 +<body>
 +<h1>Fehler bei der Anmeldung</h1>
 +<p>Bei der Anmeldung ist ein Fehler aufgetreten.</p>
 +
 +</body>
 +</html>
\ No newline at end of file | 
