<%@ page import="org.springframework.security.core.AuthenticationException" %> <%@ page import="org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter" %> Login to CAS failed!

Login to CAS failed!

Your CAS credentials were rejected.

Reason: <% Exception error = ((AuthenticationException) session.getAttribute(AbstractAuthenticationProcessingFilter.SPRING_SECURITY_LAST_EXCEPTION_KEY)); if(error != null) { %> <%= error.getMessage() %> <% } %>