%@ taglib prefix='c' uri='http://java.sun.com/jstl/core' %> <%@ page import="org.springframework.security.ui.AbstractProcessingFilter" %> <%@ page import="org.springframework.security.ui.webapp.AuthenticationProcessingFilter" %> <%@ page import="org.springframework.security.AuthenticationException" %>
Valid users:
username rod, password koala (supervisor)
username dianne, password emu (normal user)
username scott, password wombat (normal user)
username peter, password opal (user disabled)
<%-- this form-login-page form is also used as the
form-error-page to ask for a login again.
--%>
Reason: <%= ((AuthenticationException) session.getAttribute(AbstractProcessingFilter.SPRING_SECURITY_LAST_EXCEPTION_KEY)).getMessage() %>