<?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 Authentication in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/authentication/m-p/273473#M226603</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not sure where this question should be, I posted it also on the web service forums.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;All the examples require a user/password combination before using the repository.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've got alfresco with integrated with AD + SSO.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, in my application, I would like to do something like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;public static void main(String[] args) throws Exception&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AD_USER = …&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AD_PASSWORD = …&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// Start the session&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;AuthenticationUtils.startSession(AD_USER, AD_PASSWORD);&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;The User is the same as the windows User, so I've no problem fetching it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But what about the password? There must be a way to do this in order to authenticate with the service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nuno.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 May 2012 14:23:19 GMT</pubDate>
    <dc:creator>nm_santos</dc:creator>
    <dc:date>2012-05-16T14:23:19Z</dc:date>
    <item>
      <title>Authentication</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/authentication/m-p/273473#M226603</link>
      <description>Hello,I'm not sure where this question should be, I posted it also on the web service forums.All the examples require a user/password combination before using the repository.I've got alfresco with integrated with AD + SSO.Now, in my application, I would like to do something like this&lt;IMG id="smileytongue" class="emoticon emoticon-smileytongue" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;ublic static v</description>
      <pubDate>Wed, 16 May 2012 14:23:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/authentication/m-p/273473#M226603</guid>
      <dc:creator>nm_santos</dc:creator>
      <dc:date>2012-05-16T14:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: Authentication</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/authentication/m-p/273474#M226604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;These examples are not using any SSO configuration, that's why you need to provide username and password.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Working on Alfresco extensions you don't need to provide the password, but you should work on a different scenario.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;That example that you have post here, is related to show how create an Alfresco embedded repository in your custom Java application.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you need to embed Alfresco in a standard Java application?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2012 12:42:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/authentication/m-p/273474#M226604</guid>
      <dc:creator>openpj</dc:creator>
      <dc:date>2012-05-21T12:42:29Z</dc:date>
    </item>
    <item>
      <title>Re: Authentication</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/authentication/m-p/273475#M226605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;These examples are not using any SSO configuration, that's why you need to provide username and password.&lt;BR /&gt;Working on Alfresco extensions you don't need to provide the password, but you should work on a different scenario.&lt;BR /&gt;That example that you have post here, is related to show how create an Alfresco embedded repository in your custom Java application.&lt;BR /&gt;&lt;BR /&gt;Do you need to embed Alfresco in a standard Java application?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;No.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want my application to be able to send/download files to the alfresco repository withough having to ask it's user for the username/password combination each time he wants to do it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can't find any solution to this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nuno.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2012 09:01:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/authentication/m-p/273475#M226605</guid>
      <dc:creator>nm_santos</dc:creator>
      <dc:date>2012-05-25T09:01:23Z</dc:date>
    </item>
  </channel>
</rss>

