Hi,
A quick question regarding below problem! It seems I am having the same
problem when trying to use my own custom login action and was wondering if
anyone know what is going on.
Using JS 1.5 on tomcat 5
Any help appreciated.
Kind Regards
/Kristofer
Date: Wed, 17 Mar 2004 13:22:59 -0800 (PST)
From: Paul Chan <[EMAIL PROTECTED]>
Subject: Strange JLoginUser problem
Content-Type: multipart/mixed; boundary="0-1171076249-1079558579=:135"
Note: forwarded message attached.
__________________________________
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
http://mail.yahoo.com
Hi All,
I am currently trying to configure my own login and
authentication so I have my own class that overrides
JLoginUser. However, I have encountered a weird
problem whereby if I use my own class, the user I
typed in would be login but would not forward me to
the correct user psml file.
Here are excerpts from my Jsp file:
<form method="POST" action="<jetspeed:dynamicUri/>" >
<INPUT TYPE="hidden" NAME="js_peid"
VALUE="<%=jspeid%>">
<input name="action" type="hidden"
value="portlets.MyOwnLoginUser">
<table border="0" cellspacing="2"
cellpadding="0">
<tr>
<td style="font-size:10">UserName</td>
<td>
<input value="" name="username"
maxlength="25" type="text" tabindex="1"
style="font-size:10">
</td>
<td rowspan="2" align="center">
<input name="refresh" type="submit"
value="Login" tabindex="4" style="font-size:10" />
</td>
<td> </td>
</tr>
<tr>
<td style="font-size:10">Password</td>
<td>
<input value="" name="password"
maxlength="25" type="password" tabindex="2"
style="font-size:10">
</td>
</tr>
<tr>
<td style="font-size:10" colspan="2">
<input name="rememberme" value="true"
type="checkbox" tabindex="3" />Remember
</td>
</tr>
<tr>
<td> </td>
</tr>
</table>
</form>
My own portelts.MyOwnLoginUser class just extends
JLoginUser..nothing more. eg:
public class MyOwnLoginUser extends JLoginUser
{
....
}
Now if I use the regular JLoginUser class in my JSP,
everything would work correctly meaning I would be
forward to the correct user psml file. I don't get
it? Is there more I need to do in order to duplicate
what JLoginUser does?
thanks in advance!
P