diff options
Diffstat (limited to 'id/server/auth/src/main/webapp/errorpage-auth.jsp')
| -rw-r--r-- | id/server/auth/src/main/webapp/errorpage-auth.jsp | 50 | 
1 files changed, 50 insertions, 0 deletions
| diff --git a/id/server/auth/src/main/webapp/errorpage-auth.jsp b/id/server/auth/src/main/webapp/errorpage-auth.jsp new file mode 100644 index 000000000..07f3e7f69 --- /dev/null +++ b/id/server/auth/src/main/webapp/errorpage-auth.jsp @@ -0,0 +1,50 @@ +<!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");
 +%>
 +
 +<body>
 +<h1>Fehler bei der Anmeldung</h1>
 +<p>Bei der Anmeldung ist ein Fehler aufgetreten.</p>
 +
 +<% 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 | 
