<?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 configure Alfresco 4.0.e allowing callback for json in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-configure-alfresco-4-0-e-allowing-callback-for-json/m-p/257978#M211108</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;your application must pass a valid ticket when you call a webscript, unless you have a SSO mechanism that sets a cookie for Alfresco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Namely, you can add to your url the fragment alf_ticket=&amp;lt;&lt;/SPAN&gt;&lt;EM&gt;TICKET_hex_sequence&lt;/EM&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This sequence can be obtained using this Alfresco webscript &lt;/SPAN&gt;&lt;A href="http://localhost:8080/alfresco/service/api/login?u=&amp;lt;" rel="nofollow noopener noreferrer"&gt;&lt;EM&gt;username&lt;/EM&gt;&amp;gt;&amp;amp;pw=&amp;lt;&lt;EM&gt;password&lt;/EM&gt;&amp;gt;'&amp;gt;http://localhost:8080/alfresco/service/api/login?u=&amp;lt;&lt;EM&gt;username&lt;/EM&gt;&amp;gt;&amp;amp;pw=&amp;lt;&lt;EM&gt;password&lt;/EM&gt;&amp;gt;&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Conversely if you get a basic authentication dialog and provide correct login/pwd for a existing user this will be kept while your session is valid and asked no more.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;P.S.: but why do you need JSON callbacks? This could lead to many security issues…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Sep 2012 09:37:39 GMT</pubDate>
    <dc:creator>abarisone</dc:creator>
    <dc:date>2012-09-11T09:37:39Z</dc:date>
    <item>
      <title>How to configure Alfresco 4.0.e allowing callback for json</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-configure-alfresco-4-0-e-allowing-callback-for-json/m-p/257977#M211107</link>
      <description>Hi everybody, this is my first post here…I would like to provide (in Alfresco 4.0.e) the mechanism which wraps the JSON output text in parentheses and a function name (the callback). A callback is invoked by adding the following URL parameter on JSON URL requests:alf_callback=functionwhere function</description>
      <pubDate>Fri, 07 Sep 2012 08:14:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-configure-alfresco-4-0-e-allowing-callback-for-json/m-p/257977#M211107</guid>
      <dc:creator>pierluigi</dc:creator>
      <dc:date>2012-09-07T08:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure Alfresco 4.0.e allowing callback for json</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-configure-alfresco-4-0-e-allowing-callback-for-json/m-p/257978#M211108</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;your application must pass a valid ticket when you call a webscript, unless you have a SSO mechanism that sets a cookie for Alfresco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Namely, you can add to your url the fragment alf_ticket=&amp;lt;&lt;/SPAN&gt;&lt;EM&gt;TICKET_hex_sequence&lt;/EM&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This sequence can be obtained using this Alfresco webscript &lt;/SPAN&gt;&lt;A href="http://localhost:8080/alfresco/service/api/login?u=&amp;lt;" rel="nofollow noopener noreferrer"&gt;&lt;EM&gt;username&lt;/EM&gt;&amp;gt;&amp;amp;pw=&amp;lt;&lt;EM&gt;password&lt;/EM&gt;&amp;gt;'&amp;gt;http://localhost:8080/alfresco/service/api/login?u=&amp;lt;&lt;EM&gt;username&lt;/EM&gt;&amp;gt;&amp;amp;pw=&amp;lt;&lt;EM&gt;password&lt;/EM&gt;&amp;gt;&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Conversely if you get a basic authentication dialog and provide correct login/pwd for a existing user this will be kept while your session is valid and asked no more.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;P.S.: but why do you need JSON callbacks? This could lead to many security issues…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2012 09:37:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-configure-alfresco-4-0-e-allowing-callback-for-json/m-p/257978#M211108</guid>
      <dc:creator>abarisone</dc:creator>
      <dc:date>2012-09-11T09:37:39Z</dc:date>
    </item>
  </channel>
</rss>

