Custom Spring Security Login

<% if (request.getParameter("login_error") != null) { %> Your login attempt was not successful, try again. ${SPRING_SECURITY_LAST_EXCEPTION.message}

<% } %>
User:
Password:
Don't ask for my password for two weeks