<?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: How to have a 'unique or single session' by user in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-have-a-unique-or-single-session-by-user/m-p/246557#M199687</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You would need to code that yourself.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Intercept the login and store some sort of flag, that prevents a second login.&amp;nbsp;&amp;nbsp;&amp;nbsp; Reset the flag on log out.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Oct 2010 18:24:29 GMT</pubDate>
    <dc:creator>mrogers</dc:creator>
    <dc:date>2010-10-28T18:24:29Z</dc:date>
    <item>
      <title>How to have a 'unique or single session' by user</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-have-a-unique-or-single-session-by-user/m-p/246556#M199686</link>
      <description>Here is the case:There is any way that one user who logs in Share, with an active session, couldn't log in another browser or PC with the same user?Regards, and thanks for your comments…</description>
      <pubDate>Thu, 28 Oct 2010 16:02:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-have-a-unique-or-single-session-by-user/m-p/246556#M199686</guid>
      <dc:creator>andrewriver</dc:creator>
      <dc:date>2010-10-28T16:02:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to have a 'unique or single session' by user</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-have-a-unique-or-single-session-by-user/m-p/246557#M199687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You would need to code that yourself.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Intercept the login and store some sort of flag, that prevents a second login.&amp;nbsp;&amp;nbsp;&amp;nbsp; Reset the flag on log out.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Oct 2010 18:24:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-have-a-unique-or-single-session-by-user/m-p/246557#M199687</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2010-10-28T18:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to have a 'unique or single session' by user</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-have-a-unique-or-single-session-by-user/m-p/246558#M199688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Assuming you are using 3.3 or 3.4 then you can override the LoginController SpringMVC controller bean in Share:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;spring-surf-mvc-context.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;bean id="logoutController" class="org.springframework.extensions.surf.mvc.LogoutController"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This bean is responsible for authenticating users. You would override it and code up your own class that checked to see if the user was currently logged in and reject them if they were.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kev&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Nov 2010 11:49:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-have-a-unique-or-single-session-by-user/m-p/246558#M199688</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2010-11-02T11:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to have a 'unique or single session' by user</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-have-a-unique-or-single-session-by-user/m-p/246559#M199689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks a lot for your help. I follow your instructions and code my own solution:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I modified the spring-surf-mvc-context.xml from spring with new classes Login and Logout controllers, each one with the same sign of the original (extends AbstractController). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Plus, I code a singleton that will be the listener of my application, so when any user's session were created/destroyed, singleton updates a list of current users.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If anyone needs more support about my solution post it…I will mark this forum as solved.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;PS. kevir, I will give you a YES in the useful post rating &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;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Nov 2010 22:36:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-have-a-unique-or-single-session-by-user/m-p/246559#M199689</guid>
      <dc:creator>andrewriver</dc:creator>
      <dc:date>2010-11-08T22:36:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to have a 'unique or single session' by user</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-have-a-unique-or-single-session-by-user/m-p/246560#M199690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Good stuff!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kev&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Nov 2010 10:15:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-have-a-unique-or-single-session-by-user/m-p/246560#M199690</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2010-11-09T10:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to have a 'unique or single session' by user</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-have-a-unique-or-single-session-by-user/m-p/246561#M199691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please let me know how can I achieve the same in alfresco 5.1 ??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Dec 2016 05:49:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-have-a-unique-or-single-session-by-user/m-p/246561#M199691</guid>
      <dc:creator>hiten_rastogi1</dc:creator>
      <dc:date>2016-12-12T05:49:25Z</dc:date>
    </item>
  </channel>
</rss>

