<?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 requires me to authenticate in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/java-backed-web-script-requires-me-to-authenticate/m-p/165354#M119042</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No Prob…thats why forums exist., 4 eyes are better than 2 eyes &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Jun 2008 06:50:39 GMT</pubDate>
    <dc:creator>jpfi</dc:creator>
    <dc:date>2008-06-13T06:50:39Z</dc:date>
    <item>
      <title>Java backed web-script requires me to authenticate</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/java-backed-web-script-requires-me-to-authenticate/m-p/165351#M119039</link>
      <description>Hi, I have a Java-backed web script I'm using to create new users in my repository.&amp;nbsp; The script is called by a front end application using Apache Commons' HttpClient, but I can't find a way to pre-authenticate with it the way I'm used to with JavaScript based ones by setting authentication headers i</description>
      <pubDate>Wed, 11 Jun 2008 14:53:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/java-backed-web-script-requires-me-to-authenticate/m-p/165351#M119039</guid>
      <dc:creator>marctsg</dc:creator>
      <dc:date>2008-06-11T14:53:33Z</dc:date>
    </item>
    <item>
      <title>Re: Java backed web-script requires me to authenticate</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/java-backed-web-script-requires-me-to-authenticate/m-p/165352#M119040</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;you don't have to do the authentication yourself. Take a look here &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Java-backed_Web_Scripts_Samples" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Java-backed_Web_Scripts_Samples&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;The authentication part in the web script framework is done before a the javascript or the java code is called. Be sure that you configured the authentication element in your desc.xml in the right way. In the most cases you should use &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;SPAN&gt;Cheers, Jan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2008 20:15:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/java-backed-web-script-requires-me-to-authenticate/m-p/165352#M119040</guid>
      <dc:creator>jpfi</dc:creator>
      <dc:date>2008-06-11T20:15:37Z</dc:date>
    </item>
    <item>
      <title>Re: Java backed web-script requires me to authenticate</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/java-backed-web-script-requires-me-to-authenticate/m-p/165353#M119041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ahh darn it.&amp;nbsp; My face is red.&amp;nbsp; I've set this properly on all my JS backed web scripts, but somehow overlooked this on the Java one.&amp;nbsp; My face is certainly red.&amp;nbsp;&amp;nbsp; &lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;ops:&amp;nbsp;&amp;nbsp; Thanks for the help!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jun 2008 19:00:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/java-backed-web-script-requires-me-to-authenticate/m-p/165353#M119041</guid>
      <dc:creator>marctsg</dc:creator>
      <dc:date>2008-06-12T19:00:27Z</dc:date>
    </item>
    <item>
      <title>Re: Java backed web-script requires me to authenticate</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/java-backed-web-script-requires-me-to-authenticate/m-p/165354#M119042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No Prob…thats why forums exist., 4 eyes are better than 2 eyes &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2008 06:50:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/java-backed-web-script-requires-me-to-authenticate/m-p/165354#M119042</guid>
      <dc:creator>jpfi</dc:creator>
      <dc:date>2008-06-13T06:50:39Z</dc:date>
    </item>
  </channel>
</rss>

