<?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 Logout trigger by URL in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/logout-trigger-by-url/m-p/45687#M25482</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it possible to trigger a logout for the current user in a Freemarker template? Don't want to make anything complicated, only triggering the logout like the link in the web client. Tried to copy the form from the webclient but it's probably a little more complicated as this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can this be done?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Nov 2006 15:54:15 GMT</pubDate>
    <dc:creator>simon</dc:creator>
    <dc:date>2006-11-06T15:54:15Z</dc:date>
    <item>
      <title>Logout trigger by URL</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/logout-trigger-by-url/m-p/45687#M25482</link>
      <description>Hi,Is it possible to trigger a logout for the current user in a Freemarker template? Don't want to make anything complicated, only triggering the logout like the link in the web client. Tried to copy the form from the webclient but it's probably a little more complicated as this.Can this be done?</description>
      <pubDate>Mon, 06 Nov 2006 15:54:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/logout-trigger-by-url/m-p/45687#M25482</guid>
      <dc:creator>simon</dc:creator>
      <dc:date>2006-11-06T15:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: Logout trigger by URL</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/logout-trigger-by-url/m-p/45688#M25483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It can't be done out-of-the-box but it should be fairly easy to achieve with some Java coding.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You'll need to write a small servlet that can get access to the LoginBean and call the logout method.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You'll need to get hold of a FacesContext object in the servlet, retrieve the bean and call the method. A similar thing is done in ExternalAccessServlet, you can use this as a guide.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then from your freemarker script you can just add a link to the servlet.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope that helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Nov 2006 09:21:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/logout-trigger-by-url/m-p/45688#M25483</guid>
      <dc:creator>gavinc</dc:creator>
      <dc:date>2006-11-07T09:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: Logout trigger by URL</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/logout-trigger-by-url/m-p/45689#M25484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes it can. There is a special servlet for a few specific things like browse, space details, document details and also logout.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The form of the URL is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="http://" rel="nofollow noopener noreferrer"&gt;http://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;server&amp;gt;/alfresco/navigate/logout&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See the ExternalAccessServlet wiki docs for more info.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Nov 2006 09:51:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/logout-trigger-by-url/m-p/45689#M25484</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2006-11-07T09:51:43Z</dc:date>
    </item>
    <item>
      <title>Re: Logout trigger by URL</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/logout-trigger-by-url/m-p/45690#M25485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ahh, there you go I learnt something too&amp;nbsp; &lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://connect.hyland.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Nov 2006 10:10:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/logout-trigger-by-url/m-p/45690#M25485</guid>
      <dc:creator>gavinc</dc:creator>
      <dc:date>2006-11-07T10:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: Logout trigger by URL</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/logout-trigger-by-url/m-p/45691#M25486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks guys! I'm sorry Gavin but Kevins answer looks nicer… &lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://connect.hyland.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt; Tested it and it works, great.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Nov 2006 11:10:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/logout-trigger-by-url/m-p/45691#M25486</guid>
      <dc:creator>simon</dc:creator>
      <dc:date>2006-11-07T11:10:00Z</dc:date>
    </item>
  </channel>
</rss>

