yes but the fact is that users accounts are in an external database... so i think it's a little bit more difficult ^^<br><br><div><span class="gmail_quote">2008/4/7, Nick Panienski <<a href="mailto:panienski@codecentric.de">panienski@codecentric.de</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial">As far as I understand your needs you just have to set
the resources' permission.</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial">This is a standard OpenCms feature. Create a group, add
users to that group, set groups permission on resource.</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial">Have a look in the OpenCms Wiki for more
information:</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial"><a href="http://opencms-wiki.org/How_to_create_a_restricted_area_on_your_homepage" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://opencms-wiki.org/How_to_create_a_restricted_area_on_your_homepage</a></font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial">and</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial"><a href="http://opencms-wiki.org/How_OpenCms_Permissions_work" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://opencms-wiki.org/How_OpenCms_Permissions_work</a></font></span></div>
<span class="q">
<div><font color="#0000ff" size="2" face="Arial"></font> </div>
<div><span><font color="#0000ff" size="2" face="Arial">HTH</font></span></div>
<div><span><font color="#0000ff" size="2" face="Arial">Nick</font></span></div>
<p><font size="2">--<br>Mit freundlichen Grüßen<br>Nick Panienski<br>IT
Consultant<br><br>codecentric GmbH<br>Grünewalder Str. 29-31<br>42657
Solingen<br><br>Telefon +49 (212) 24 94
330<br>Fax +49 (212) 24 94
334<br>Mobil +49 (151) 167 06 496<br>eMail
<a href="mailto:panienski@codecentric.de" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">panienski@codecentric.de</a><br>Internet <a href="http://www.codecentric.de/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.codecentric.de</a><br>
<br>Geschäftsführer:
Peter Gierse, Mirko Novakovic und Rainer Vehns Sitz der Gesellschaft:
Solingen<br>Registergericht: Amtsgericht Wuppertal, HRB 19214</font> </p>
<div> </div><br>
</span><blockquote style="border-left: 2px solid rgb(0, 0, 255); padding-left: 5px; margin-left: 5px; margin-right: 0px;">
<div dir="ltr" align="left" lang="de">
<hr>
<font size="2" face="Tahoma"><span class="q"><b>Von:</b> <a href="mailto:opencms-dev-bounces@opencms.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">opencms-dev-bounces@opencms.org</a>
[mailto:<a href="mailto:opencms-dev-bounces@opencms.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">opencms-dev-bounces@opencms.org</a>] <b>Im Auftrag von </b>Territorio
Jordan-V.<br></span><b>Gesendet:</b> Montag, 7. April 2008 10:39</font><div><span class="e" id="q_11928f00c516e6e4_5"><font size="2" face="Tahoma"><br><b>An:</b> The
OpenCms mailing list<br><b>Betreff:</b> Re: [opencms-dev] Logoff system and
session flsuh<br></font></span></div><font size="2" face="Tahoma"></font><br></div><div><span class="e" id="q_11928f00c516e6e4_7">
<div></div>Of course ^^<br>I want to create a group of pages with a private
access. If people have no account he can't acces to pages, if he has an user
account he can reach pages and do some forms, and he has an administrator
account he can edit contents of those pages.<br><br>For the moment i just try
to make that peiople whit no account can't have access to
pages.<br><br>Jordan<br><br>
<div><span class="gmail_quote">2008/4/7, Nick Panienski <<a href="mailto:panienski@codecentric.de" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">panienski@codecentric.de</a>>:</span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><span>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial">>
<font color="#000000" size="3" face="Times New Roman">Maybe you have an idea
about securizing a a page when you're logged or
not?</font></font></span></div></span>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial">Sorry, I
didn't understand your second question, could you describe your other
problem a little bit more detailed?</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial">Cheers</font></span></div><span>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial">Nick</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial"></font></span> </div>
<div dir="ltr" align="left"><font size="2">--<br>Mit freundlichen Grüßen<br>Nick
Panienski<br>IT Consultant<br><br>codecentric GmbH<br>Grünewalder Str.
29-31<br>42657 Solingen<br><br>Telefon +49 (212) 24 94
330<br>Fax +49 (212) 24 94
334<br>Mobil +49 (151) 167 06
496<br>eMail <a href="mailto:panienski@codecentric.de" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">panienski@codecentric.de</a><br>Internet <a href="http://www.codecentric.de/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.codecentric.de</a><br>
<br>Geschäftsführer: Peter
Gierse, Mirko Novakovic und Rainer Vehns Sitz der Gesellschaft:
Solingen<br>Registergericht: Amtsgericht Wuppertal, HRB 19214</font> </div>
<div> </div><br></span>
<blockquote style="border-left: 2px solid rgb(0, 0, 255); padding-left: 5px; margin-left: 5px; margin-right: 0px;">
<div dir="ltr" align="left" lang="de">
<hr>
<font size="2" face="Tahoma"><span><b>Von:</b> <a href="mailto:opencms-dev-bounces@opencms.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">opencms-dev-bounces@opencms.org</a> [mailto:<a href="mailto:opencms-dev-bounces@opencms.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">opencms-dev-bounces@opencms.org</a>] <b>Im Auftrag von
</b>Territorio Jordan-V.<br></span><b>Gesendet:</b> Freitag, 4. April 2008
16:11<span><br><b>An:</b> The OpenCms mailing
list<br></span><b>Betreff:</b> Re: [opencms-dev] Logoff system and session
flsuh<br></font><br></div>
<div><span>
<div></div>Thank you a lot, it works !<br>I thought there was a better
way, than calling a new JSP file but finally i think it's a good thing for
future purposes...<br><br>Maybe you have an idea about securizing a a page
when you're logged or not?<br><br>
<div><span class="gmail_quote">2008/4/4, Nick Panienski <<a href="mailto:panienski@codecentric.de" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">panienski@codecentric.de</a>>:</span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial">Hi
Jordan,</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial">I
recon the easiest way to do this is to invalidate the session. Just
link to a logoff.jsp with the following contents:</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial"><% session.invalidate();
response.sendRedirect("/page/that/should/be/displayed/after/logout.html");
%></font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial">That's it.</font></span></div><span>
<div dir="ltr" align="left"><br><font color="#0000ff" size="2" face="Arial">HTH</font></div>
<div dir="ltr" align="left"></div></span><span><font color="#0000ff" size="2" face="Arial">Nick</font></span></div>
<p><font size="2">--<br>Mit freundlichen Grüßen<br>Nick Panienski<br>IT
Consultant<br><br>codecentric GmbH<br>Grünewalder Str. 29-31<br>42657
Solingen<br><br>Telefon +49 (212) 24 94
330<br>Fax +49 (212) 24 94
334<br>Mobil +49 (151) 167 06
496<br>eMail <a href="mailto:panienski@codecentric.de" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">panienski@codecentric.de</a><br>Internet <a href="http://www.codecentric.de/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.codecentric.de</a><br>
<br>Geschäftsführer:
Peter Gierse, Mirko Novakovic und Rainer Vehns Sitz der Gesellschaft:
Solingen<br>Registergericht: Amtsgericht Wuppertal, HRB 19214</font>
</p>
<div> </div><br>
<blockquote style="border-left: 2px solid rgb(0, 0, 255); padding-left: 5px; margin-left: 5px; margin-right: 0px;">
<div dir="ltr" align="left" lang="de">
<hr>
<font size="2" face="Tahoma"><b>Von:</b> <a href="mailto:opencms-dev-bounces@opencms.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">opencms-dev-bounces@opencms.org</a> [mailto:<a href="mailto:opencms-dev-bounces@opencms.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">opencms-dev-bounces@opencms.org</a>] <b>Im Auftrag von
</b>Territorio Jordan-V.<br><b>Gesendet:</b> Freitag, 4. April 2008
15:11<br><b>An:</b> The OpenCms mailing list<br><b>Betreff:</b>
[opencms-dev] Logoff system and session flsuh<br></font><br></div>
<div><span>
<div></div>Hi all,<br><br>I have made a login system which redirect me
to a page where information about the current user are displayed. But
now i'd like to put a link on the user page to log him off. But i was
wondering if some tag could do it because i don't what is the correct
(or best) syntax to perform this action...<br><br>I imagine that my
link could send information to a java class and then all sessions
variables could be flushed. Unfortunately, as i am a newbie with
openCMS and JSPs, i'm a little lost...<br><br>someone could help
me?<br><br clear="all"><br>-- <br>TERRITORIO Jordan-Victor<br>Ingénieur
d'Intégration Java<br>TEAMLOG – Ingenieurs 2000<br><br>+33 6 30 66 54
69<br><a href="mailto:jot@teamlog.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">jot@teamlog.com</a>
</span></div></blockquote><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 href="http://lists.opencms.org/mailman/listinfo/opencms-dev" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>TERRITORIO Jordan-Victor<br>Ingénieur d'Intégration
Java<br>TEAMLOG – Ingenieurs 2000<br><br>+33 6 30 66 54 69<br><a href="mailto:jot@teamlog.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">jot@teamlog.com</a>
</span></div></blockquote></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 href="http://lists.opencms.org/mailman/listinfo/opencms-dev" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>TERRITORIO Jordan-Victor<br>Ingénieur d'Intégration
Java<br>TEAMLOG – Ingenieurs 2000<br><br>+33 6 30 66 54 69<br><a href="mailto:jot@teamlog.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">jot@teamlog.com</a> </span></div></blockquote></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></blockquote></div><br><br clear="all">
<br>-- <br>TERRITORIO Jordan-Victor<br>Ingénieur d'Intégration Java<br>TEAMLOG – Ingenieurs 2000<br><br>+33 6 30 66 54 69<br><a href="mailto:jot@teamlog.com">jot@teamlog.com</a>