<error-page>
<error-code>500</error-code>
- <location>/idp-exception.jsp</location>
+ <location>/error.jsp</location>
</error-page>
<error-page>
<error-code>404</error-code>
- <location>/idp-404.jsp</location>
+ <location>/error.jsp</location>
</error-page>
<!-- Uncomment to use container managed authentication -->
--- /dev/null
+<%@page import="edu.internet2.middleware.shibboleth.common.profile.AbstractErrorHandler"%>
+
+<html>
+
+<body>
+ <img src="<%= request.getContextPath() %>/images/logo.jpg" />
+ <h3>ERROR</h3>
+ <p>
+ An error occurred while processing your request. Please contact your helpdesk or
+ user ID office for assistance.
+ </p>
+ <%
+ Throwable error = (Throwable) request.getAttribute(AbstractErrorHandler.ERROR_KEY);
+ if(error != null){
+ %>
+ <strong>Error Message: <%= error.getMessage() %></strong>
+ <% } %>
+
+</body>
+
+</html>
\ No newline at end of file
+++ /dev/null
-<html>
-
-<body>
- <img src="<%= request.getContextPath() %>/images/logo.jpg" />
- <h3>ERROR</h3>
- Error Message: Invalid identity provider profile URL.
-
-</body>
-
-</html>
\ No newline at end of file
+++ /dev/null
-<html>
-
-<body>
- <img src="<%= request.getContextPath() %>/images/logo.jpg" />
- <h3>ERROR</h3>
- Error Message: The identity provider encountered an internal error.
-
-</body>
-
-</html>
\ No newline at end of file