I can deliver a patch this week, I assume it is a nobrainer :D . <div><br></div><div>Yes, the other patches are pending since a long time, would be great if I could get rid of the copied classes in my realm.</div><div><br>
</div><div>Thanks!</div><div>Cheers</div><div>Balz<br><br><div class="gmail_quote">On Tue, Aug 16, 2011 at 9:37 PM, Michael Wechner <span dir="ltr"><<a href="mailto:michael.wechner@wyona.com">michael.wechner@wyona.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Hi Balz<br>
    <br>
    I agree, whereas please see<br>
    <br>
    src/webapp/src/java/org/wyona/yanel/servlet/YanelServlet.java#doLogout(HttpServletRequest,
    HttpServletResponse)<br>
    <br>
    which contains a TODO already for this.<br>
    <br>
    I have added it now to Bugzilla:<br>
    <br>
    <a href="http://bugzilla.wyona.com/cgi-bin/bugzilla/show_bug.cgi?id=8488" target="_blank">http://bugzilla.wyona.com/cgi-bin/bugzilla/show_bug.cgi?id=8488</a><br>
    <br>
    Patches are of course always welcome<br>
    (I have to handle your other patch first ;-)<br>
    <br>
    Thanks<br>
    <br>
    Michael<br>
    <br>
    Am 16.08.11 16:24, schrieb basZero:
    <div><div></div><div class="h5"><blockquote type="cite">Hi,
      <div><br>
      </div>
      <div>just noticed the following:</div>
      <div><br>
      </div>
      <div>if you want to perform a logout for the currently logged in
        user, you can offer a hyperlink called "Logout" which goes to a
        URL containing the logout usecase as a parameter, like this:</div>
      <div><br>
      </div>
      <div><a href="http://127.0.0.1:8080/yourpage.html" target="_blank">http://127.0.0.1:8080/yourpage.html</a><b>?yanel.usecase=logout</b></div>
      <div><br>
      </div>
      <div>This works fine, the user gets logged out an gets redirected
        to yourpage.html.</div>
      <div><br>
      </div>
      <div>The following does not work:</div>
      <div>- If you have a page with parameters already, you can add the
        usecase parameter, but the page, where you get redirected to
        does not contain any parameters anymore, so you loose the page
        state where the user has been.</div>
      <div><br>
      </div>
      <div>Example:</div>
      <div>You are here: <a href="http://127.0.0.1:8080/yourpage.html" target="_blank">http://127.0.0.1:8080/yourpage.html</a><b>?page=4</b></div>
      <div>Now you want to offer a logout URL: <a href="http://127.0.0.1:8080/yourpage.html?page=4" target="_blank">http://127.0.0.1:8080/yourpage.html?page=4</a><b>&yanel.usecase=logout</b></div>
      <div><b><br>
        </b></div>
      <div>Unfortunately, the user ends up here, without page=4 in the
        URL: <a href="http://127.0.0.1:8080/yourpage.html" target="_blank">http://127.0.0.1:8080/yourpage.html</a></div>
      <div><br>
      </div>
      <div>It would be nice, if the logout functionality in yanel would
        be improved so that all the parameters in the URL are preserved,
        if there are any.</div>
      <div><br>
      </div>
      <div>Cheers</div>
      <div>Balz</div>
      <br>
      <fieldset></fieldset>
      <br>
    </blockquote>
    <br>
  </div></div></div>

<br>--<br>
Yanel-development mailing list <a href="mailto:Yanel-development@wyona.com">Yanel-development@wyona.com</a><br>
<a href="http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development" target="_blank">http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development</a><br></blockquote></div><br></div>