<?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 Configure External and basic authentication to work toghether in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/configure-external-and-basic-authentication-to-work-toghether/m-p/98432#M28706</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have an External Autentication based with cookies, here a sample of my bean :&lt;/P&gt;&lt;PRE&gt;&amp;lt;bean id="remoteUserMapper" class="fr.foo.wsso.web.app.servlet.WssoRemoteUserMapper"&amp;gt;
      &amp;lt;property name="cookieUserGUID"&amp;gt;
         &amp;lt;value&amp;gt;MDP-WSSO-MDPWSSOGUID&amp;lt;/value&amp;gt;
      &amp;lt;/property&amp;gt;&lt;BR /&gt;      ....&lt;BR /&gt;&amp;lt;/bean&amp;gt;&lt;/PRE&gt;&lt;P&gt;I can use the external with my internal applications, but I can't use basic authentication to authenticate on /share and /alfresco&lt;/P&gt;&lt;P&gt;and I can't use CMIS in others applications, when I create session with :&lt;/P&gt;&lt;PRE&gt;parameters.put(SessionParameter.USER, username);
parameters.put(SessionParameter.PASSWORD, password);&lt;/PRE&gt;&lt;P&gt;It doesn't work when external authentication is enable, here is my chain conf :&lt;/P&gt;&lt;PRE&gt;authentication.chain=alfrescoNtlm1:alfrescoNtlm,external1:external&lt;/PRE&gt;&lt;P&gt;Can someone help me pls to enable basic authentication with the external, I can't find solution.&lt;/P&gt;&lt;P&gt;Alfresco intsalled with: alfresco-community-distribution-201707.zip&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards,&lt;/P&gt;&lt;P&gt;O.&lt;/P&gt;</description>
    <pubDate>Fri, 11 Oct 2019 14:42:33 GMT</pubDate>
    <dc:creator>oounoughi</dc:creator>
    <dc:date>2019-10-11T14:42:33Z</dc:date>
    <item>
      <title>Configure External and basic authentication to work toghether</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/configure-external-and-basic-authentication-to-work-toghether/m-p/98432#M28706</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have an External Autentication based with cookies, here a sample of my bean :&lt;/P&gt;&lt;PRE&gt;&amp;lt;bean id="remoteUserMapper" class="fr.foo.wsso.web.app.servlet.WssoRemoteUserMapper"&amp;gt;
      &amp;lt;property name="cookieUserGUID"&amp;gt;
         &amp;lt;value&amp;gt;MDP-WSSO-MDPWSSOGUID&amp;lt;/value&amp;gt;
      &amp;lt;/property&amp;gt;&lt;BR /&gt;      ....&lt;BR /&gt;&amp;lt;/bean&amp;gt;&lt;/PRE&gt;&lt;P&gt;I can use the external with my internal applications, but I can't use basic authentication to authenticate on /share and /alfresco&lt;/P&gt;&lt;P&gt;and I can't use CMIS in others applications, when I create session with :&lt;/P&gt;&lt;PRE&gt;parameters.put(SessionParameter.USER, username);
parameters.put(SessionParameter.PASSWORD, password);&lt;/PRE&gt;&lt;P&gt;It doesn't work when external authentication is enable, here is my chain conf :&lt;/P&gt;&lt;PRE&gt;authentication.chain=alfrescoNtlm1:alfrescoNtlm,external1:external&lt;/PRE&gt;&lt;P&gt;Can someone help me pls to enable basic authentication with the external, I can't find solution.&lt;/P&gt;&lt;P&gt;Alfresco intsalled with: alfresco-community-distribution-201707.zip&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards,&lt;/P&gt;&lt;P&gt;O.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Oct 2019 14:42:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/configure-external-and-basic-authentication-to-work-toghether/m-p/98432#M28706</guid>
      <dc:creator>oounoughi</dc:creator>
      <dc:date>2019-10-11T14:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: Configure External and basic authentication to work toghether</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/configure-external-and-basic-authentication-to-work-toghether/m-p/98433#M28707</link>
      <description>&lt;P&gt;A simple test I did is with curl :&lt;/P&gt;&lt;PRE&gt;curl -u admin:admin http://&amp;lt;ALFRESCO-URL&amp;gt;:8080/alfresco/api/-default-/public/cmis/versions/1.1/atom&lt;/PRE&gt;&lt;PRE&gt;{
    "status" :
  {
    "code" : 500,
    "name" : "Internal Error",
    "description" : "An error inside the HTTP server which prevented it from fulfilling the request."
  },

  "message" : "java.lang.NullPointerException",
  "exception" : "",

  "callstack" :
  [

  ],

  "server" : "Community v5.2.0 (re21f2be5-b22) schema 10&amp;nbsp;057",
  "time" : "11 oct. 2019 17:12:26"
}&lt;/PRE&gt;&lt;P&gt;when I disable External authentication, it work fine&lt;/P&gt;</description>
      <pubDate>Fri, 11 Oct 2019 15:15:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/configure-external-and-basic-authentication-to-work-toghether/m-p/98433#M28707</guid>
      <dc:creator>oounoughi</dc:creator>
      <dc:date>2019-10-11T15:15:50Z</dc:date>
    </item>
  </channel>
</rss>

