<div>Thanks Jon for the help.  Anyway, after some hours of investigation i found out the problem... it was really easy. After create the user from other JSP page created by me, i forgot to assign the user to a group :( </div>

<div>I found the solution by trying to login through the OpenCMS login page.</div>
<div> </div>
<div>Thanks!</div>
<div> </div>
<div> Pablo<br><br> </div>
<div><span class="gmail_quote">2006/1/6, Jon Mayes <<a href="mailto:jon.mayes@pegasus-homes.co.uk">jon.mayes@pegasus-homes.co.uk</a>>:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>
<div>
<div>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Open the opencms-system.xml file in your webapps directory, find the key relating to http-authentication and change browser-based to false, then set the url of your login page in the form-based key (
e.g. /system/modules/…something.../newLoginUser.jsp). Once you've done that, restart your server.</span></font></p>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> </span></font></p>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Hopefully that should sort you out!</span></font></p>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> </span></font></p>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Jon</span></font></p>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> </span></font></p>
<div>
<div style="TEXT-ALIGN: center" align="center"><font face="Times New Roman" size="3"><span lang="EN-US" style="FONT-SIZE: 12pt">
<hr align="center" width="100%" size="2">
</span></font></div>
<p><b><font face="Tahoma" size="2"><span lang="EN-US" style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">From:</span></font></b><font face="Tahoma" size="2"><span lang="EN-US" style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">
 Pablo Caviglia [mailto:<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:pablo.caviglia@gmail.com" target="_blank">pablo.caviglia@gmail.com</a>] <br><b><span style="FONT-WEIGHT: bold">Sent:</span></b>
 06 January 2006 00:13<br><b><span style="FONT-WEIGHT: bold">To:</span></b> <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:opencms-dev@opencms.org" target="_blank">opencms-dev@opencms.org</a><br><b>
<span style="FONT-WEIGHT: bold">Subject:</span></b> [opencms-dev] login jsp page[Scanned]</span></font><span lang="EN-US"></span></p></div>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"> </span></font></p>
<div>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">Hi all!</span></font></p></div>
<div>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"> </span></font></p></div>
<div>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">Iam trying to develop a JSP page to login to the OpenCMS 6.02 system. The problem is that when i try to access the login page thorugh a browser, it popup a box window asking me for a username and a password.
</span></font></p></div>
<div>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">I attached in this mail a gif file of the popup, and the login jsp file.</span></font></p></div>
<div>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"> </span></font></p></div>
<div>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">If anyone knows what is wrong, i appreciate help me :)</span></font></p></div>
<div>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"> </span></font></p></div>
<div>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">Thx!</span></font></p></div>
<div>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"> </span></font></p></div>
<div>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">          Pablo</span></font></p></div></div></div>
<div> </div>
<div>
<div><font face="Arial" size="1">Jon Mayes</font> </div>
<div><font face="Arial" size="1">Marketing & Business Systems</font> </div>
<div><font face="Arial" size="1">Pegasus Retirement Homes plc</font> </div>
<div><font face="Arial" size="1">Tel: </font></div>
<div><font face="Arial" size="1">Fax: </font></div>
<div><font size="1"><font face="Arial">Email: <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:jon.mayes@pegasus-homes.co.uk" target="_blank">jon.mayes@pegasus-homes.co.uk</a></font> </font> </div>
<div> </div>
<div>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">For more information on Pegasus please visit our web site at </span></font><font color="navy"><span style="COLOR: navy">
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.pegasus-homes.co.uk/" target="_blank"><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">www.pegasus-homes.co.uk</span>
</font></a></span></font> </p></div>
<div> </div>
<div><span style="FONT-SIZE: 7.5pt; COLOR: navy; FONT-FAMILY: Arial">Privileged/Confidential information may be contained in this message.  If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone.  In such case, you should destroy this message and kindly notify the sender by reply email.  Please advise immediately if you or your employer does not consent to Internet email for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of my firm shall be understood as neither given nor endorsed by it. 
</span></div></div></div><br><br>_______________________________________________<br>This mail is sent to you from the opencms-dev mailing list<br>To change your list options, or to unsubscribe from the list, please visit<br>
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.opencms.org/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br><br></blockquote></div><br>