Sorry Alex, but does'nt works... I have downloaded spring-core.jar to able StringUtils... but the .jsp does'nt had any button to submit the credentials I have put one, but they stay in this login page forever..
Thanks Alex.. Anyone have a suggestion? 2009/2/18 Axel Mendoza Pupo <[email protected]>: > This should be enought to your needs. Just save this as .jsp file and use it > as login page > > <%@ page language="java" contentType="text/html; charset=UTF-8" > pageEncoding="UTF-8"%> > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> > <html> > <body> > <form method="post" action="<%=response.encodeRedirectURL("login" + > (StringUtils.hasText(request.getQueryString()) ? "?" + > request.getQueryString() : ""))%>"> > > <input id="username" name="username" accesskey="n" /> > <input type="password" id="password" name="password" accesskey="p" /> > > <input type="hidden" name="lt" value="${flowExecutionKey}" /> > <input type="hidden" name="_eventId" value="submit" /> > </form> > </body> > </html> > > -- > You are currently subscribed to [email protected] as: > [email protected] > To unsubscribe, change settings or access archives, see > http://www.ja-sig.org/wiki/display/JSG/cas-user -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
