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