casfailed.jsp 658 B

1234567891011121314151617181920
  1. <%@ taglib prefix='c' uri='http://java.sun.com/jstl/core' %>
  2. <%@ page import="net.sf.acegisecurity.ui.AbstractProcessingFilter" %>
  3. <%@ page import="net.sf.acegisecurity.AuthenticationException" %>
  4. <%-- This page will be copied into WAR's root directory if using CAS --%>
  5. <html>
  6. <head>
  7. <title>Login to CAS failed!</title>
  8. </head>
  9. <body>
  10. <h1>Login to CAS failed!</h1>
  11. <font color="red">
  12. Your CAS credentials were rejected.<BR><BR>
  13. Reason: <%= ((AuthenticationException) session.getAttribute(AbstractProcessingFilter.ACEGI_SECURITY_LAST_EXCEPTION_KEY)).getMessage() %>
  14. </font>
  15. </body>
  16. </html>