<?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 with cas in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/logout-with-cas/m-p/297749#M250879</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have alfresco-community 5.1, and I don't understand how to add the logoutService in it, I found how to reenable the button to logout, but when I try to make it logout from cas it didn't work so I tryied to create a class to overried the SlingshotLogoutController but I failed to get the Alf_ticket to destroy it at the end cause if i want to use &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;/api/login/ticket/&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt; I need the password of the user, and i don't think it's secure to use it here in cleartext.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 May 2016 13:46:40 GMT</pubDate>
    <dc:creator>litllel</dc:creator>
    <dc:date>2016-05-23T13:46:40Z</dc:date>
    <item>
      <title>Logout with cas</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/logout-with-cas/m-p/297744#M250874</link>
      <description>Hello guys, I have my CAS enable on my alfresco, but when SSO is enable, the button to logout is disable, how can I reenable it in order to be able to logout from my share and from my cas without having to clear my history each time.</description>
      <pubDate>Thu, 19 May 2016 14:03:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/logout-with-cas/m-p/297744#M250874</guid>
      <dc:creator>litllel</dc:creator>
      <dc:date>2016-05-19T14:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: Logout with cas</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/logout-with-cas/m-p/297745#M250875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Logging out from CAS is not really possible from inside Alfresco. You need to have a special UI or URL of your CAS that provides "log out" functionality. If your CAS provides such an UI or URL, you could customize the Alfresco Share header to have a menu item "Logout via CAS" in the menu (alternative to the disabled standard logout), which redirects to that CAS logout UI or URL.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2016 07:47:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/logout-with-cas/m-p/297745#M250875</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2016-05-20T07:47:27Z</dc:date>
    </item>
    <item>
      <title>Re: Logout with cas</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/logout-with-cas/m-p/297746#M250876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok, Thank you I will look out for this. I think I have to customize the share-header.lib.js. to reenable the logout button but how can I redirect my URL to my cas logout.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2016 13:12:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/logout-with-cas/m-p/297746#M250876</guid>
      <dc:creator>litllel</dc:creator>
      <dc:date>2016-05-20T13:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: Logout with cas</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/logout-with-cas/m-p/297747#M250877</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;SPAN&gt; how did u integrate the alfresco Via cas. kindly share any POC or steps ??&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 May 2016 10:22:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/logout-with-cas/m-p/297747#M250877</guid>
      <dc:creator>abhishek2341</dc:creator>
      <dc:date>2016-05-21T10:22:44Z</dc:date>
    </item>
    <item>
      <title>Re: Logout with cas</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/logout-with-cas/m-p/297748#M250878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is slightly complicated…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;First you need to put back the logout menu option, that's relatively straightforward.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Then you need to replace the LogoutService so that you can pass the redirectURLQueryKey (and redirectURLQueryValue) to the logout servlet, complicated by the fact that the servlet doesn't understand JSON.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Probably the easiest thing to do is look at my github - &lt;/SPAN&gt;&lt;A href="https://github.com/wrighting/alfresco-cas" rel="nofollow noopener noreferrer"&gt;https://github.com/wrighting/alfresco-cas&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;There's some explanation in the wiki as well as the code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(It's different for earlier versions….)&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 08:28:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/logout-with-cas/m-p/297748#M250878</guid>
      <dc:creator>idwright</dc:creator>
      <dc:date>2016-05-23T08:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: Logout with cas</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/logout-with-cas/m-p/297749#M250879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have alfresco-community 5.1, and I don't understand how to add the logoutService in it, I found how to reenable the button to logout, but when I try to make it logout from cas it didn't work so I tryied to create a class to overried the SlingshotLogoutController but I failed to get the Alf_ticket to destroy it at the end cause if i want to use &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;/api/login/ticket/&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt; I need the password of the user, and i don't think it's secure to use it here in cleartext.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 13:46:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/logout-with-cas/m-p/297749#M250879</guid>
      <dc:creator>litllel</dc:creator>
      <dc:date>2016-05-23T13:46:40Z</dc:date>
    </item>
    <item>
      <title>Re: Logout with cas</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/logout-with-cas/m-p/297750#M250880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can do it on the java/repo end, the trick is to forward to the CAS logout page, but I prefer to make the changes in share as the servlet will accept the parameters you can use to tell it where to go. (Arguably it would be better to allow these values to be set via properties)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See&lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://connect.hyland.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt;not all the files you need but the main ones) &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://github.com/wrighting/alfresco-cas/blob/master/share-amp/src/main/amp/config/alfresco/web-extension/site-webscripts/org/wrighting/alfresco/usermenu/share-header.get.js" rel="nofollow noopener noreferrer"&gt;https://github.com/wrighting/alfresco-cas/blob/master/share-amp/src/main/amp/config/alfresco/web-extension/site-webscripts/org/wrighting/alfresco/usermenu/share-header.get.js&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://github.com/wrighting/alfresco-cas/tree/master/share-amp/src/main/amp/web/js/Authentication" rel="nofollow noopener noreferrer"&gt;https://github.com/wrighting/alfresco-cas/tree/master/share-amp/src/main/amp/web/js/Authentication&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2016 14:17:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/logout-with-cas/m-p/297750#M250880</guid>
      <dc:creator>idwright</dc:creator>
      <dc:date>2016-06-28T14:17:30Z</dc:date>
    </item>
  </channel>
</rss>

