<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I've created some WebUser with this code
:</FONT></DIV>
<DIV><FONT face=Arial size=2>-----------------------------</FONT></DIV>
<DIV> CmsJspActionElement cms = new CmsJspActionElement(pageContext,
request, response); <BR> CmsObject cmso = cms.getCmsObject(); </DIV>
<DIV><FONT face=Arial size=2> CmsUser createdUser =
cmso.addWebUser(.......</FONT></DIV>
<DIV><FONT face=Arial size=2>-----------------------------</FONT></DIV>
<DIV><FONT face=Arial size=2>I associated them with a Group
"WebUsers".</FONT></DIV>
<DIV><FONT face=Arial size=2>Then I create an other web user and associated
it with the "WebHidden" group.</FONT></DIV>
<DIV><FONT face=Arial size=2>I create some pages and directories "pubblic" and
others visible only to "WebHidden" group.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>When I try to access the "private" pages logged as
a user in the "WebUsers" group I got the login popup, and it's OK.</FONT></DIV>
<DIV><FONT face=Arial size=2>When I try to access the "private" pages logged as
a user in the "WebHidden" group I see the pages, and it's OK.</FONT></DIV>
<DIV><FONT face=Arial size=2>If after that I login as a "WebUsers" user and try
to see a "private" page I can see it a first time, then if I try to reload it I
got the login popup, and THIS IS THE PROBLEM NUMBER 1 !!!!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Why I can see tha page the first time
?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>The browser setting is "Check for newer version of
stored pages: Every visit of the page".</FONT></DIV>
<DIV><FONT face=Arial size=2>The page is almost empty, just a rude html
text.</FONT></DIV>
<DIV><FONT face=Arial size=2> </DIV>
<DIV><BR></DIV></FONT>
<DIV><FONT face=Arial size=2>The problem number 2 is : how can I redirect the
user to a site specific login page instead of having the login popup
?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>The problem number 3 is : how can I show the
user to a site specific error page when he/she do not give a correct login
instead of the HTTP 401 page ?</FONT></DIV>
<DIV> </DIV>
<DIV>Thx all,</DIV>
<DIV> Paolo Brunasti</DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></FONT></DIV></BODY></HTML>