<?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: Java Backed Web Script, Access Repository in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/java-backed-web-script-access-repository/m-p/294232#M247362</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can use CMIS but the better option or rather I say suitable option is to use alfresco services. You can inject alfresco services inside your bean though dependency injection. Authentication is one of the service among them and you can use that service to authenticate with alfresco repo. though search service you can find the node, though filefolder service and nodeservice you can do most of your operations.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;hope this will give you good starting point.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Jan 2014 14:08:24 GMT</pubDate>
    <dc:creator>mitpatoliya</dc:creator>
    <dc:date>2014-01-23T14:08:24Z</dc:date>
    <item>
      <title>Java Backed Web Script, Access Repository</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/java-backed-web-script-access-repository/m-p/294231#M247361</link>
      <description>Hello there,I'm trying to build web script that stores file (eg. some.txt) within document library, everything is clear if I use javascript controller, but I've some troubles using java controller.How can I access (authenticate?) repository via java controller and store file?Can I use CMIS (within j</description>
      <pubDate>Thu, 23 Jan 2014 12:43:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/java-backed-web-script-access-repository/m-p/294231#M247361</guid>
      <dc:creator>baaka</dc:creator>
      <dc:date>2014-01-23T12:43:39Z</dc:date>
    </item>
    <item>
      <title>Re: Java Backed Web Script, Access Repository</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/java-backed-web-script-access-repository/m-p/294232#M247362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can use CMIS but the better option or rather I say suitable option is to use alfresco services. You can inject alfresco services inside your bean though dependency injection. Authentication is one of the service among them and you can use that service to authenticate with alfresco repo. though search service you can find the node, though filefolder service and nodeservice you can do most of your operations.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;hope this will give you good starting point.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jan 2014 14:08:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/java-backed-web-script-access-repository/m-p/294232#M247362</guid>
      <dc:creator>mitpatoliya</dc:creator>
      <dc:date>2014-01-23T14:08:24Z</dc:date>
    </item>
    <item>
      <title>Re: Java Backed Web Script, Access Repository</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/java-backed-web-script-access-repository/m-p/294233#M247363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you don't want to&amp;nbsp; create a java-backed webscript that deal with login or ticket,You don't need to use AuthenticationService.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I guess you want to guarantee that only authenticated user can call your custom webscript ,if so what you have to do is just following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.Create a java class that extends org.springframework.extensions.webscripts.DeclarativeWebScript and implements you upload operation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.In your webscript&amp;nbsp; description document set&amp;nbsp; required level of authentication to user like this &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt; &amp;lt;authentication&amp;gt;user&amp;lt;/authentication&amp;gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;webscript framework will take care of all others for you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jan 2014 15:46:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/java-backed-web-script-access-repository/m-p/294233#M247363</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2014-01-23T15:46:05Z</dc:date>
    </item>
  </channel>
</rss>

