casfailed.jsp 511 B

123456789101112131415161718
  1. <%@ page import="org.springframework.security.core.AuthenticationException" %>
  2. <%@ page import="org.springframework.security.web.authentication.AbstractProcessingFilter" %>
  3. <html>
  4. <head>
  5. <title>Login to CAS failed!</title>
  6. </head>
  7. <body>
  8. <h2>Login to CAS failed!</h2>
  9. <font color="red">
  10. Your CAS credentials were rejected.<br/><br/>
  11. Reason: <%= ((AuthenticationException) session.getAttribute(AbstractProcessingFilter.SPRING_SECURITY_LAST_EXCEPTION_KEY)).getMessage() %>
  12. </font>
  13. </body>
  14. </html>