<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Logout Plugin not being called after direct link navigation in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/logout-plugin-not-being-called-after-direct-link-navigation/m-p/313253#M254</link>
    <description>&lt;P&gt;Edit&lt;/P&gt;</description>
    <pubDate>Wed, 30 Oct 2013 13:55:10 GMT</pubDate>
    <dc:creator>cburch_</dc:creator>
    <dc:date>2013-10-30T13:55:10Z</dc:date>
    <item>
      <title>Logout Plugin not being called after direct link navigation</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/logout-plugin-not-being-called-after-direct-link-navigation/m-p/313251#M252</link>
      <description>&lt;P&gt;I've created my own login plugin to authenticate users with our system and included a logout extension to logout users in our system upon logging out of nuxeo.  This all works fine except when a user follows a direct link to nuxeo e.g. &lt;A href="http://mynuxeoinstance/nuxeo/nxpath/default/default-domain/Doc1234@view_documents" target="test_blank"&gt;http://mynuxeoinstance/nuxeo/nxpath/default/default-domain/Doc1234@view_documents&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;If you push logout from that page it navigates to &lt;A href="http://mynuxeoinstance/nuxeo/logout" target="test_blank"&gt;http://mynuxeoinstance/nuxeo/logout&lt;/A&gt; instead of calling my logout function.&lt;/P&gt;
&lt;P&gt;If you navigate anywhere else from that page in nuxeo, it calls my correct logout function when attempting to logout.  Is it related to the ?tabIds=%3A&amp;amp;conversationId=0NXMAIN1 it appends to the url when navigating around?  Something about going directly to a page and logging out from there seems to cause it to fail.  Any ideas?&lt;/P&gt;
&lt;P&gt;Edit: this displays the same issues as this post: &lt;A href="http://answers.nuxeo.com/questions/5797/permanent-links-and-cas-authentication" target="test_blank"&gt;http://answers.nuxeo.com/questions/5797/permanent-links-and-cas-authentication&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2013 17:42:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/logout-plugin-not-being-called-after-direct-link-navigation/m-p/313251#M252</guid>
      <dc:creator>cburch_</dc:creator>
      <dc:date>2013-10-23T17:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: Logout Plugin not being called after direct link navigation</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/logout-plugin-not-being-called-after-direct-link-navigation/m-p/313252#M253</link>
      <description>&lt;P&gt;Would you have some code snippet to share? Ideally a (WebDriver) test reproducing the issue?&lt;/P&gt;
&lt;P&gt;How does your logout extension work?&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2013 14:11:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/logout-plugin-not-being-called-after-direct-link-navigation/m-p/313252#M253</guid>
      <dc:creator>Julien_Carsique</dc:creator>
      <dc:date>2013-10-25T14:11:17Z</dc:date>
    </item>
    <item>
      <title>Re: Logout Plugin not being called after direct link navigation</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/logout-plugin-not-being-called-after-direct-link-navigation/m-p/313253#M254</link>
      <description>&lt;P&gt;Edit&lt;/P&gt;</description>
      <pubDate>Wed, 30 Oct 2013 13:55:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/logout-plugin-not-being-called-after-direct-link-navigation/m-p/313253#M254</guid>
      <dc:creator>cburch_</dc:creator>
      <dc:date>2013-10-30T13:55:10Z</dc:date>
    </item>
    <item>
      <title>Re: Logout Plugin not being called after direct link navigation</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/logout-plugin-not-being-called-after-direct-link-navigation/m-p/313254#M255</link>
      <description>&lt;P&gt;Updated my question with some more information about the authenticator and loginplugin.  I'm not sure how to create WebDriver tests, I'll try to look into that here.  Let me know if you could use more information.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Oct 2013 13:57:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/logout-plugin-not-being-called-after-direct-link-navigation/m-p/313254#M255</guid>
      <dc:creator>cburch_</dc:creator>
      <dc:date>2013-10-30T13:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: Logout Plugin not being called after direct link navigation</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/logout-plugin-not-being-called-after-direct-link-navigation/m-p/313255#M256</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2013 10:45:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/logout-plugin-not-being-called-after-direct-link-navigation/m-p/313255#M256</guid>
      <dc:creator>manuek_</dc:creator>
      <dc:date>2013-11-04T10:45:04Z</dc:date>
    </item>
    <item>
      <title>Re: Logout Plugin not being called after direct link navigation</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/logout-plugin-not-being-called-after-direct-link-navigation/m-p/313256#M257</link>
      <description>&lt;P&gt;I think you are right manuek, we have those issues also and they are probably related to using an alternate login method w/ direct links.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2013 13:34:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/logout-plugin-not-being-called-after-direct-link-navigation/m-p/313256#M257</guid>
      <dc:creator>cburch_</dc:creator>
      <dc:date>2013-11-04T13:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: Logout Plugin not being called after direct link navigation</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/logout-plugin-not-being-called-after-direct-link-navigation/m-p/313257#M258</link>
      <description>&lt;P&gt;I think I've found the solution to this:&lt;/P&gt;
&lt;P&gt;When using a custom Authenticator, sometimes the tomcat session has not been initialized yet (according to this post: &lt;A href="http://stackoverflow.com/questions/595872/under-what-conditions-is-a-jsessionid-created)" target="test_blank"&gt;http://stackoverflow.com/questions/595872/under-what-conditions-is-a-jsessionid-created)&lt;/A&gt;.  To ensure my session has started I added a
httpRequest.getSession(true);
during the handleRetrieveIdentity method.  This seems to fix my issue of Nuxeo going to a page not found after any redirect.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2013 21:54:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/logout-plugin-not-being-called-after-direct-link-navigation/m-p/313257#M258</guid>
      <dc:creator>cburch_</dc:creator>
      <dc:date>2013-12-05T21:54:07Z</dc:date>
    </item>
  </channel>
</rss>

