<?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: Testing External Authentication in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/testing-external-authentication/m-p/293637#M246767</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I can not seem to authenticate to that URL…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I turned on external auth, and still support Alfresco NTLM…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But when I set the authentication header to the base64 encoded value IE: Authorization | Basic {base64 username&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;assword}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It won't authenticate that user. Am i doing that right?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I guess i don't know how to authenticate with my external user and set the header for another user. &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Jul 2015 22:57:42 GMT</pubDate>
    <dc:creator>arbitraryname</dc:creator>
    <dc:date>2015-07-29T22:57:42Z</dc:date>
    <item>
      <title>Testing External Authentication</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/testing-external-authentication/m-p/293635#M246765</link>
      <description>Hello;I am trying to configure external authentication. authentication.chain=external1:external,alfrescoNtlm1:alfrescoNtlmexternal.authentication.proxyUserName=secretAccountexternal.authentication.enabled=trueexternal.authentication.defaultAdministratorUserNames=adminexternal.authentication.proxyHea</description>
      <pubDate>Tue, 28 Jul 2015 23:35:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/testing-external-authentication/m-p/293635#M246765</guid>
      <dc:creator>arbitraryname</dc:creator>
      <dc:date>2015-07-28T23:35:22Z</dc:date>
    </item>
    <item>
      <title>Re: Testing External Authentication</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/testing-external-authentication/m-p/293636#M246766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think, Your test is flawed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;First this login script /api/login doesnt require any authentication. Any user can hit it and can get ticket. And its logic is to get ticket for provided user ID and pwd NOT for one which is there in header.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To verify external authentication - Try some other script like /alfresco/wcservice/slingshot/dashlets/my-contents. pass userid in header and verify.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Other thing - You need to user wcservice NOT service. Please check this link for detail - &lt;/SPAN&gt;&lt;A href="https://wiki.alfresco.com/wiki/Web_Scripts" rel="nofollow noopener noreferrer"&gt;https://wiki.alfresco.com/wiki/Web_Scripts&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/service =&amp;gt; HTTP Basic Authentication e.g. &lt;/SPAN&gt;&lt;A href="http://localhost:8080/service/api/path/Workspace/SpacesStore/Company%20Home/children" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/service/api/path/Workspace/SpacesStore/Company%20Home/children&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;/wcservice =&amp;gt; Alfresco Explorer Authentication e.g. &lt;/SPAN&gt;&lt;A href="http://localhost:8080/wcservice/api/path/Workspace/SpacesStore/Company%20Home/children" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/wcservice/api/path/Workspace/SpacesStore/Company%20Home/children&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this help!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2015 06:21:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/testing-external-authentication/m-p/293636#M246766</guid>
      <dc:creator>niketapatel</dc:creator>
      <dc:date>2015-07-29T06:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: Testing External Authentication</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/testing-external-authentication/m-p/293637#M246767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I can not seem to authenticate to that URL…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I turned on external auth, and still support Alfresco NTLM…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But when I set the authentication header to the base64 encoded value IE: Authorization | Basic {base64 username&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;assword}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It won't authenticate that user. Am i doing that right?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I guess i don't know how to authenticate with my external user and set the header for another user. &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2015 22:57:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/testing-external-authentication/m-p/293637#M246767</guid>
      <dc:creator>arbitraryname</dc:creator>
      <dc:date>2015-07-29T22:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: Testing External Authentication</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/testing-external-authentication/m-p/293638#M246768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt; So I had to abandon my community in addition I was running on a VM the test with. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; What I did was enable external authentication through the admin console and left the alfresco and NTLM turned on.&amp;nbsp; Next&amp;nbsp; I created an account named secret via share. I set the external authentication config to trust that secret account&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can see the account work if I hit /service/ using an authorization header previously configured to be Basic {base 64 encode username&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;asswd} &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But I can't seem to make that work on the wsservice end point. I even tried getting a ticket from /service and using that as ?alf_ticket=TICKET_blahblah. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So I guess my summary question is how do I actually now authenticate with that secret account when I am calling the WS service end point? Setting the header value to another's username is no problem; but I can't seem to figure out how to authenticate the requester. &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2015 04:45:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/testing-external-authentication/m-p/293638#M246768</guid>
      <dc:creator>arbitraryname</dc:creator>
      <dc:date>2015-07-30T04:45:59Z</dc:date>
    </item>
    <item>
      <title>Re: Testing External Authentication</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/testing-external-authentication/m-p/293639#M246769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think I made a lot of progress. But I still don't seem to be triggering the sub system (this time I configured it via the admin console)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We used service/api/login?u=secretProxyUser&amp;amp;pw=password to get the ticket which was TICKET_000000000000000000&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then we tried to talk to /wcservice/api/activities/feed/user?ticket=TICKET_000000000000000000 which successfully gave us a response of:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;*Parens for xml tags*&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(link rel="self" href=""/)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(title)Alfresco Activities User Feed for secretProxyUser(/title)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(/feed)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Good news! We successfully authenticated as the secretProxyUser since we saw the user name in the xm.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then we tried setting the "X-Alfresco-Remote-User" header as another user name in the system. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sad news! the response came back as the same 'User Feed for secretProxyUser'&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any tips anyone?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2015 23:22:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/testing-external-authentication/m-p/293639#M246769</guid>
      <dc:creator>arbitraryname</dc:creator>
      <dc:date>2015-07-30T23:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: Testing External Authentication</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/testing-external-authentication/m-p/293640#M246770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Why are you trying to use a ticket with external authentication?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 10:55:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/testing-external-authentication/m-p/293640#M246770</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2015-07-31T10:55:37Z</dc:date>
    </item>
    <item>
      <title>Re: Testing External Authentication</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/testing-external-authentication/m-p/293641#M246771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt; I'm trying to use that ticket to authenticate the proxy user that is called out in the external authentication configuration. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After getting help to call under /wcservice to invoke the Alfresco authentication chain; I'm pretty lost as how to actually now authenticate as the proxy user configured for external authentication&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I thought perhaps I could get a ticket from/service for the proxy user, and then use that to authenticate the call,then call out another user in the header, in hopes the external with chain would run it as the user in the header value. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Eventually I want to use a web script to get back a ticket for another user in the system (the one called out in the header) and then I can use that ticket to make calls on their behalf. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In effect all I really need to do is be able to get a ticket for another user based on knowing the username. In a alfresco and NTLM forms/basic username and password stored in the repo scheme. &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 13:30:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/testing-external-authentication/m-p/293641#M246771</guid>
      <dc:creator>arbitraryname</dc:creator>
      <dc:date>2015-07-31T13:30:27Z</dc:date>
    </item>
    <item>
      <title>Re: Testing External Authentication</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/testing-external-authentication/m-p/293642#M246772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I got external authentication to work; but only if I set the proxyUserName property to an empty string ""&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In that case I can set the x-alfresco-header to a username and see the request run as that user. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I still think the root cause is my inability to authenticate the proxyUser account. Can anyone help me understand how to do that? All I have found is using a Ticket, but that bypasses the rest of the authentication chain. &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2015 04:59:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/testing-external-authentication/m-p/293642#M246772</guid>
      <dc:creator>arbitraryname</dc:creator>
      <dc:date>2015-08-05T04:59:13Z</dc:date>
    </item>
  </channel>
</rss>

