Hi,

i'm using Pentaho version 3.0.0.STABLE.37736

if anyone interested i changed the page at tomcat/webapps/pentaho/jsp/PUCLogin.jsp to maintain last login used to connect at tomcat, here some users hate to retype their login name all time, since i dont know how to do that directly in pentaho source code, like, put a "remember me" checkbox, i do a workaround for that at PUCLogin.jsp the diff of this change is:

302a303,341
> // Functions for cookies
> var expDate = new Date();
> expDate.setTime(expDate.getTime()+(365 * 24 * 60 * 60 * 1000));
> function saveLastLogin() {
> setCookie("lastLogin",document.getElementsByTagName("input")[0].value,expDate);
> }
> function setCookie(name,value,expires,path,domain,secure) {
> document.cookie = name+"="+escape(value)+
> ((expires) ? "; expires="+expires.toGMTString() : "") +
> ((path) ? "; path="+path : "") +
> ((domain) ? "; domain="+domain : "") +
> ((secure) ? "; secure="+secure : "");
> }
> function getCookieData(labelName) {
> var labelLen = labelName.length;
> var cookieData = document.cookie;
> var cLen = cookieData.length;
> var i = 0;
> var cEnd;
> var j;
> while (i < cLen) {
> j = i+labelLen;
> if (cookieData.substring(i,j) == labelName) {
> cEnd = cookieData.indexOf(";",j);
> if (cEnd == -1) {
> cEnd = cookieData.length;
> }
> return unescape(cookieData.substring(j+1,cEnd));
> }
> i++;
> }
> return "";
> }
> function openLoginDialogWrapper(url) {
> openLoginDialog(url);
> var loginField = document.getElementsByTagName("input")[0];
> loginField.onblur = saveLastLogin;
> loginField.value = getCookieData("lastLogin");
> }
338c377
< onClick="this.className='btn_login_box';<%if (null != remoteUser && remoteUser.length() > 0) {%>logout()<%} else {%>openLoginDialog('<%=requestedURL%>')<%}%>">
---
> onClick="this.className='btn_login_box';<%if (null != remoteUser && remoteUser.length() > 0) {%>logout()<%} else {%>openLoginDialogWrapper('<%=requestedURL%>')<%}%>">

if anyone knows a different way to do that let me know

regards