<?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: IFRAME and webscripts authentication in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/iframe-and-webscripts-authentication/m-p/123561#M86995</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It works but lost ticket and redirect to login come operations.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Mar 2008 15:49:12 GMT</pubDate>
    <dc:creator>robertoroberto</dc:creator>
    <dc:date>2008-03-12T15:49:12Z</dc:date>
    <item>
      <title>IFRAME and webscripts authentication</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/iframe-and-webscripts-authentication/m-p/123558#M86992</link>
      <description>Hi, I'm developping a component to easily edit associations in document properties pages.The visual part of the component is an IFRAME showing the myspaces webscript.I'm having difficulties to transfer user authentication to the content of the IFRAME. The session is lost, so the browser ask for a ne</description>
      <pubDate>Fri, 12 Oct 2007 10:45:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/iframe-and-webscripts-authentication/m-p/123558#M86992</guid>
      <dc:creator>dgenard</dc:creator>
      <dc:date>2007-10-12T10:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: IFRAME and webscripts authentication</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/iframe-and-webscripts-authentication/m-p/123559#M86993</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;Use the &lt;/SPAN&gt;&lt;STRONG&gt;/alfresco/wcservice&lt;/STRONG&gt;&lt;SPAN&gt; servlet instead, which will use Web Client authentication - you can add a "ticket" parameter onto the URL. Previews and links will then work from the MySpaces portlet.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Oct 2007 12:08:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/iframe-and-webscripts-authentication/m-p/123559#M86993</guid>
      <dc:creator>mikeh</dc:creator>
      <dc:date>2007-10-12T12:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: IFRAME and webscripts authentication</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/iframe-and-webscripts-authentication/m-p/123560#M86994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It works fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks !&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Denis&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Oct 2007 12:22:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/iframe-and-webscripts-authentication/m-p/123560#M86994</guid>
      <dc:creator>dgenard</dc:creator>
      <dc:date>2007-10-12T12:22:18Z</dc:date>
    </item>
    <item>
      <title>Re: IFRAME and webscripts authentication</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/iframe-and-webscripts-authentication/m-p/123561#M86995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It works but lost ticket and redirect to login come operations.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2008 15:49:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/iframe-and-webscripts-authentication/m-p/123561#M86995</guid>
      <dc:creator>robertoroberto</dc:creator>
      <dc:date>2008-03-12T15:49:12Z</dc:date>
    </item>
    <item>
      <title>Re: IFRAME and webscripts authentication</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/iframe-and-webscripts-authentication/m-p/123562#M86996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #000000; background: #fafafa; border: 0px; font-size: 14px; margin: 0px 10px 1rem 0px;"&gt;Using below code ... but still taking to login scree.&lt;/P&gt;&lt;P style="color: #000000; background: #fafafa; border: 0px; font-size: 14px; margin: 0px 10px 1rem 0px;"&gt;var self = this;var ticket;var xmlHttpReq = false;&lt;BR /&gt;// Mozilla/Safari&lt;BR /&gt;if (window.XMLHttpRequest) {self.xmlHttpReq = new XMLHttpRequest();}&lt;BR /&gt;// IE&lt;BR /&gt;else if (window.ActiveXObject) {self.xmlHttpReq = new ActiveXObject("Microsoft.XMLHTTP");}&lt;BR /&gt;&lt;SPAN&gt;self.xmlHttpReq.open("GET", "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://blrkec335927d:8080/alfresco/wcservice/api/login?u=admin&amp;amp;pw=admin" rel="nofollow noopener noreferrer"&gt;http://blrkec335927d:8080/alfresco/wcservice/api/login?u=admin&amp;amp;pw=admin&lt;/A&gt;&lt;SPAN&gt;", true);&lt;/SPAN&gt;&lt;BR /&gt;self.xmlHttpReq.setRequestHeader('Content-Type', 'json');&lt;BR /&gt;self.xmlHttpReq.setRequestHeader('X-Alfresco-Remote-User', 'admin');&lt;BR /&gt;xmlHttpReq.onreadystatechange = function() {//Call a function when the state changes.&lt;BR /&gt;alert(xmlHttpReq.status);&lt;BR /&gt;if (xmlHttpReq.readyState == 4 &amp;amp;&amp;amp; xmlHttpReq.status == 200)&lt;BR /&gt;{ var xml = xmlHttpReq.responseXML;&lt;BR /&gt;var getticket = xml.getElementsByTagName("ticket");&lt;BR /&gt;ticket = getticket[0].childNodes[0].nodeValue&lt;BR /&gt;&lt;SPAN&gt;var url1 = "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://blrkec335927d:8080/alfresco/wcservice/ui/myspaces?f=0&amp;amp;p=%2FCompany%20Home&amp;amp;alf_ticket=" rel="nofollow noopener noreferrer"&gt;http://blrkec335927d:8080/alfresco/wcservice/ui/myspaces?f=0&amp;amp;p=%2FCompany%20Home&amp;amp;alf_ticket=&lt;/A&gt;&lt;SPAN&gt;"+ticket;&lt;/SPAN&gt;&lt;BR /&gt;var aa='';&lt;BR /&gt;document.getElementById('uploaddoc').innerHTML = aa; &lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;self.xmlHttpReq.send();&lt;/P&gt;&lt;P style="color: #000000; background: #fafafa; border: 0px; font-size: 14px; margin: 0px 10px 1rem 0px;"&gt;${label['ALFRESCO_DOCUMENT']}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Dec 2014 11:10:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/iframe-and-webscripts-authentication/m-p/123562#M86996</guid>
      <dc:creator>manjunathab</dc:creator>
      <dc:date>2014-12-12T11:10:00Z</dc:date>
    </item>
  </channel>
</rss>

