<?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 Using http session Id to authenticate to web services in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/using-http-session-id-to-authenticate-to-web-services/m-p/251997#M205127</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I need to achieve the following scenario in Alfresco Share:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. The user logs to Alfresco Share(using login and password),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. The user creates a document and adds binary content to the document,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. The user converts(using a java applet) the document content(my special conversion) and stores the modified version in a custom aspect property of type d:content&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- the java applet needs to be called from a custom document action,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- the java applet uses Alfresco web services to read and store converted content,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- the user is supposed to insert his login and password only once(when logging to Share)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So I can`t use the user password or ticket to authenticate from an applet to web services.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In my opinion the best solution is to use an existing http session Id to authenticate from a java applet to Alfresco web services.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I achieve this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Do I have to write custom authentication class and add it to alfresco?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Nov 2010 07:49:18 GMT</pubDate>
    <dc:creator>pucfg1</dc:creator>
    <dc:date>2010-11-09T07:49:18Z</dc:date>
    <item>
      <title>Using http session Id to authenticate to web services</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/using-http-session-id-to-authenticate-to-web-services/m-p/251997#M205127</link>
      <description>Hi all,I need to achieve the following scenario in Alfresco Share:1. The user logs to Alfresco Share(using login and password),2. The user creates a document and adds binary content to the document,3. The user converts(using a java applet) the document content(my special conversion) and stores the m</description>
      <pubDate>Tue, 09 Nov 2010 07:49:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/using-http-session-id-to-authenticate-to-web-services/m-p/251997#M205127</guid>
      <dc:creator>pucfg1</dc:creator>
      <dc:date>2010-11-09T07:49:18Z</dc:date>
    </item>
    <item>
      <title>Re: Using http session Id to authenticate to web services</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/using-http-session-id-to-authenticate-to-web-services/m-p/251998#M205128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi I'm also trying to reuse an existing sessio to log in and use soap services somehow like AuthenticationUtils.startSession("admin", "adminpwd"); to get the WebServiceFactory.get"servicename" services in my java class, what's the right approach to do this by usen the current logged user's login/pwd and not having to hardcode the admin's?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Mar 2011 20:22:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/using-http-session-id-to-authenticate-to-web-services/m-p/251998#M205128</guid>
      <dc:creator>flopez</dc:creator>
      <dc:date>2011-03-31T20:22:19Z</dc:date>
    </item>
  </channel>
</rss>

