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

Login to CAS failed!

Your CAS credentials were rejected.

Reason: <%= ((AuthenticationException) session.getAttribute(AbstractProcessingFilter.SPRING_SECURITY_LAST_EXCEPTION_KEY)).getMessage() %>