<?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 Alfresco conexiones por CMIS problemas de sessiones in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-conexiones-por-cmis-problemas-de-sessiones/m-p/88253#M59873</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hola,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tengo en mi aplicación que accede a dos carpeta de Alfresco y creamos dos usuarios diferentes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Creo el servicio de esta forma:&lt;/P&gt;&lt;PRE __default_attr="info" __jive_macro_name="alert" alert="info" class="jive_text_macro jive_macro_alert" modifiedtitle="true"&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; // default factory implementation&lt;BR /&gt; SessionFactory factory = SessionFactoryImpl.newInstance();// SessionFactoryFinder.find();//&lt;BR /&gt; Map&amp;lt;String, String&amp;gt; parameters = new HashMap&amp;lt;String, String&amp;gt;();&lt;/P&gt;&lt;P&gt;// user credentials&lt;BR /&gt; parameters.put(SessionParameter.USER, usuario);&lt;BR /&gt; parameters.put(SessionParameter.PASSWORD, password);&lt;/P&gt;&lt;P&gt;// connection settings&lt;BR /&gt; parameters.put(SessionParameter.ATOMPUB_URL, urlServicio + "/cmisatom");&lt;BR /&gt; parameters.put(SessionParameter.BINDING_TYPE, BindingType.ATOMPUB.value());&lt;BR /&gt; parameters.put(SessionParameter.AUTH_HTTP_BASIC, "true");&lt;BR /&gt; parameters.put(SessionParameter.COOKIES, "false");&lt;BR /&gt; parameters.put(SessionParameter.WEBSERVICES_PORT_PROVIDER_CLASS, CXFPortProvider.class.getName());&lt;BR /&gt; parameters.put(SessionParameter.CONNECT_TIMEOUT, "10000");// 10 Segundos&lt;BR /&gt; parameters.put(SessionParameter.READ_TIMEOUT, readTimeOut);&lt;/P&gt;&lt;P&gt;// create session&lt;BR /&gt; Repository repository = factory.getRepositories(parameters).get(0);&lt;BR /&gt; Session session = repository.createSession();&lt;BR /&gt; LOG.info("DATOS SERVICIO CMIS: " + parameters.get(SessionParameter.USER)+", SESSION:"+session.getBinding().getSessionId());&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; return session;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;Pero parece que aunque teno un idSession de Cmis diferente se están mezclando las sesiones entre mi cliente cmis y alfresco y tengo a veces prohibido&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inicialmente cada usuario no tiene acceso a cada carpeta, pero incluso teniendo acceso los dos a la misma carpetas, pasa algo dentro de apache chemistry que mezcla algo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;¿alguien le ha pasado algo parecido?¿sabéis por donde pueden ir los tiros?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;utilizo la versión 0.12 de&amp;nbsp;&lt;SPAN&gt; &lt;/SPAN&gt;&amp;lt;groupId&amp;gt;org.apache.chemistry.opencmis&amp;lt;/groupId&amp;gt;&lt;/P&gt;&lt;P&gt;Mucha gracias a todos&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Mar 2019 09:37:13 GMT</pubDate>
    <dc:creator>zapolo</dc:creator>
    <dc:date>2019-03-26T09:37:13Z</dc:date>
    <item>
      <title>Alfresco conexiones por CMIS problemas de sessiones</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-conexiones-por-cmis-problemas-de-sessiones/m-p/88253#M59873</link>
      <description>Hola,&amp;nbsp;Tengo en mi aplicación que accede a dos carpeta de Alfresco y creamos dos usuarios diferentes.Creo el servicio de esta forma: // default factory implementation SessionFactory factory = SessionFactoryImpl.newInstance();// SessionFactoryFinder.find();// Map&amp;lt;String, String&amp;gt; parameters = new</description>
      <pubDate>Tue, 26 Mar 2019 09:37:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-conexiones-por-cmis-problemas-de-sessiones/m-p/88253#M59873</guid>
      <dc:creator>zapolo</dc:creator>
      <dc:date>2019-03-26T09:37:13Z</dc:date>
    </item>
  </channel>
</rss>

