<?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 Connecting to CMIS using authentication ticket in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/connecting-to-cmis-using-authentication-ticket/m-p/274948#M228078</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey there&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Well, here's the question : How can I connect to the cmis services using an authentication ticket.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I searched for an answer, and I found here &lt;/SPAN&gt;&lt;A href="http://issues.alfresco.com/jira/browse/ALF-7074" rel="nofollow noopener noreferrer"&gt;http://issues.alfresco.com/jira/browse/ALF-7074&lt;/A&gt;&lt;SPAN&gt; ,that :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Ticket can be specified in password, if any of the following are true: &lt;BR /&gt;a) username is not specified (i.e. null, or length of zero) &lt;BR /&gt;b) username is equal to "ROLE_TICKET" (case insensitive) &lt;BR /&gt;The CMIS REST API has also been updated to support the above, so it's consistent with Web Services.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;this is dated from 4 months ago.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using Opencmis 0.3.0, passing the informations as specified&lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;SessionFactory factory= SessionFactoryImpl.newInstance();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Map&amp;lt;String, String&amp;gt; parameter = new HashMap&amp;lt;String, String&amp;gt;();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;parameter.put(SessionParameter.USER,"");&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;parameter.put(SessionParameter.PASSWORD,theTicket);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;parameter.put(SessionParameter.BINDING_TYPE, BindingType.ATOMPUB.value());&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;parameter.put(SessionParameter.ATOMPUB_URL,"URLToService/cmis");&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;parameter.put(SessionParameter.WEBSERVICES_NAVIGATION_SERVICE, "URLToService/cmis/services/NavigationService?wsdl");&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;parameter.put(SessionParameter.WEBSERVICES_OBJECT_SERVICE, "URLToService/cmis/services/ObjectService?wsdl");&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;, but it returns me this :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;org.apache.chemistry.opencmis.commons.exceptions.CmisConnectionException: Parsing exception!&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.parse(AbstractAtomPubService.java:465)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.getRepositoriesInternal(AbstractAtomPubService.java:653)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.chemistry.opencmis.client.bindings.spi.atompub.RepositoryServiceImpl.getRepositoryInfos(RepositoryServiceImpl.java:58)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.chemistry.opencmis.client.bindings.impl.RepositoryServiceImpl.getRepositoryInfos(RepositoryServiceImpl.java:85)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.chemistry.opencmis.client.runtime.SessionFactoryImpl.getRepositories(SessionFactoryImpl.java:69)&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using Alfresco 3.4b&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you tell me what is wrong?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Jun 2011 08:36:03 GMT</pubDate>
    <dc:creator>alfred</dc:creator>
    <dc:date>2011-06-09T08:36:03Z</dc:date>
    <item>
      <title>Connecting to CMIS using authentication ticket</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/connecting-to-cmis-using-authentication-ticket/m-p/274948#M228078</link>
      <description>Hey thereWell, here's the question : How can I connect to the cmis services using an authentication ticket.I searched for an answer, and I found here http://issues.alfresco.com/jira/browse/ALF-7074 ,that :Ticket can be specified in password, if any of the following are true: a) username is not speci</description>
      <pubDate>Thu, 09 Jun 2011 08:36:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/connecting-to-cmis-using-authentication-ticket/m-p/274948#M228078</guid>
      <dc:creator>alfred</dc:creator>
      <dc:date>2011-06-09T08:36:03Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to CMIS using authentication ticket</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/connecting-to-cmis-using-authentication-ticket/m-p/274949#M228079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The change to support ticket authentication is not in community 3.4b&amp;nbsp; since it was done 4 months after that release :cry: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can pick up a nightly build, however HEAD is very unstable at the moment.&amp;nbsp;&amp;nbsp; It will be in Community 4.0.a.&amp;nbsp; (If that's the next release)&amp;nbsp; And is in Enterprise 3.4 SP1 and above.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2011 09:08:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/connecting-to-cmis-using-authentication-ticket/m-p/274949#M228079</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2011-06-09T09:08:29Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to CMIS using authentication ticket</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/connecting-to-cmis-using-authentication-ticket/m-p/274950#M228080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ah, that's a good explanation. Thanks mrogers!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What if I only take the changes concerning the ticket authentication on the head ? Is it something to do? And could you tell me where i'll find what I'm interested in, if you know that?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2011 09:58:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/connecting-to-cmis-using-authentication-ticket/m-p/274950#M228080</guid>
      <dc:creator>alfred</dc:creator>
      <dc:date>2011-06-09T09:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to CMIS using authentication ticket</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/connecting-to-cmis-using-authentication-ticket/m-p/274951#M228081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have a look at these files in HEAD:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;…/remote-api/source/java/org/alfresco/repo/cmis/ws/AuthenticationInterceptor.java &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;…/remote-api/source/java/org/alfresco/repo/web/util/auth/Authorization.java &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;…/remote-api/source/java/org/alfresco/repo/web/scripts/servlet/BasicHttpAuthenticatorFactory.java &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Good luck!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Florian&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2011 16:35:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/connecting-to-cmis-using-authentication-ticket/m-p/274951#M228081</guid>
      <dc:creator>fmui</dc:creator>
      <dc:date>2011-06-10T16:35:33Z</dc:date>
    </item>
  </channel>
</rss>

