<?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: Plugin to handle identity propagation between an external application and Nuxeo CAS_AUTH and PORTAL_AUTH in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/plugin-to-handle-identity-propagation-between-an-external/m-p/320854#M7855</link>
    <description>&lt;P&gt;hello, did you find a solution ?&lt;/P&gt;</description>
    <pubDate>Tue, 10 Dec 2013 16:34:01 GMT</pubDate>
    <dc:creator>ludovic_UTT</dc:creator>
    <dc:date>2013-12-10T16:34:01Z</dc:date>
    <item>
      <title>Plugin to handle identity propagation between an external application and Nuxeo CAS_AUTH and PORTAL_AUTH</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/plugin-to-handle-identity-propagation-between-an-external/m-p/320853#M7854</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;
&lt;P&gt;I have trouble to use the plugin CAS_AUTH and I have add PORTAL_AUTH with automation to propagate the identity between an external application and Nuxeo. But this mechanism doesn't work, I don't understand why. Nevertheless I followed the indications on the documentation Nuxeo as well as the various forums.&lt;/P&gt;
&lt;P&gt;For headers sent to the http request, which are the ones to send for my case. Or where i can find the differents headers to send a http request for using CAS_AUTH abd PORTAL_AUTH.&lt;/P&gt;
&lt;P&gt;Because when I test to send a http request via the addon RestClient of Firefox, I am automatically connect with the anonymous user.
Here is my configuration for the plugin&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;?xml version="1.0"?&amp;gt;
&amp;lt;component name="org.esup.ecm.login"&amp;gt;
&amp;lt;!-- certains composants doivent être chargés avant que ce fichier soit
       lu car ils contiennent des points d'extension sur l'authentification --&amp;gt;
&amp;lt;require&amp;gt;org.nuxeo.ecm.platform.ui.web.auth.defaultConfig&amp;lt;/require&amp;gt;
&amp;lt;require&amp;gt;org.nuxeo.ecm.platform.login.Cas2SSO&amp;lt;/require&amp;gt;

&amp;lt;extension
target="org.nuxeo.ecm.platform.ui.web.auth.service.PluggableAuthenticationService"
    point="authenticators"&amp;gt;
    &amp;lt;authenticationPlugin name="CAS2_AUTH"&amp;gt;
       &amp;lt;needStartingURLSaving&amp;gt;true&amp;lt;/needStartingURLSaving&amp;gt;
       &amp;lt;loginModulePlugin&amp;gt;Trusting_LM&amp;lt;/loginModulePlugin&amp;gt;
        &amp;lt;parameters&amp;gt;
            &amp;lt;!-- variable contenant le ticket dans l'url --&amp;gt;
            &amp;lt;parameter name="ticketKey"&amp;gt;ticket&amp;lt;/parameter&amp;gt;
            &amp;lt;!-- si utilisation du mode proxy --&amp;gt;
            &amp;lt;!--&amp;lt;parameter name="proxyKey"&amp;gt;ticket&amp;lt;/parameter&amp;gt;--&amp;gt;
            &amp;lt;parameter name="appURL"&amp;gt;http://localhost:8080/nuxeo/&amp;lt;/parameter&amp;gt;
            &amp;lt;!-- URL de login du serveur CAS --&amp;gt;
            &amp;lt;parameter name="serviceLoginURL"&amp;gt;https://localhost/cas/login&amp;lt;/parameter&amp;gt;
            &amp;lt;!-- URL de validation du ticket du serveur CAS --&amp;gt;
            &amp;lt;parameter name="serviceValidateURL"&amp;gt;https://localhost/cas/serviceValidate&amp;lt;/parameter&amp;gt;
            &amp;lt;!-- variable contenant le nom du service dans l'URL --&amp;gt;
            &amp;lt;parameter name="serviceKey"&amp;gt;service&amp;lt;/parameter&amp;gt;
            &amp;lt;!-- URL de logout de CAS --&amp;gt;
            &amp;lt;parameter name="logoutURL"&amp;gt;https://localhost/cas/logout?service=http://localhost:8080/nuxeo/&amp;lt;/parameter&amp;gt;
        &amp;lt;/parameters&amp;gt;
    &amp;lt;/authenticationPlugin&amp;gt;
&amp;lt;/extension&amp;gt;
&amp;lt;!-- chainage de l'authentification : on garde une authentification de type
     BASIC pour les accès particuliers (RSS/cmis/contentAutomation) --&amp;gt;
&amp;lt;extension
    target="org.nuxeo.ecm.platform.ui.web.auth.service.PluggableAuthenticationService"
    point="chain"&amp;gt;
    &amp;lt;authenticationChain&amp;gt;
        &amp;lt;plugins&amp;gt;
            &amp;lt;plugin&amp;gt;BASIC_AUTH&amp;lt;/plugin&amp;gt;
            &amp;lt;plugin&amp;gt;CAS2_AUTH&amp;lt;/plugin&amp;gt;
        &amp;lt;/plugins&amp;gt;
    &amp;lt;/authenticationChain&amp;gt;
&amp;lt;/extension&amp;gt;
&amp;lt;extension point="specificChains" target="org.nuxeo.ecm.platform.ui.web.auth.service.PluggableAuthenticationService"&amp;gt;

    &amp;lt;specificAuthenticationChain name="Automation"&amp;gt;
        &amp;lt;urlPatterns&amp;gt;
            &amp;lt;url&amp;gt;(.*)/automation.*&amp;lt;/url&amp;gt;
        &amp;lt;/urlPatterns&amp;gt;

        &amp;lt;replacementChain&amp;gt;
            &amp;lt;plugin&amp;gt;AUTOMATION_BASIC_AUTH&amp;lt;/plugin&amp;gt;
            &amp;lt;plugin&amp;gt;PORTAL_AUTH&amp;lt;/plugin&amp;gt;
            &amp;lt;plugin&amp;gt;ANONYMOUS_AUTH&amp;lt;/plugin&amp;gt;
        &amp;lt;/replacementChain&amp;gt;
    &amp;lt;/specificAuthenticationChain&amp;gt;
&amp;lt;/extension&amp;gt;
&amp;lt;/component&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Thank you for your help.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2013 22:10:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/plugin-to-handle-identity-propagation-between-an-external/m-p/320853#M7854</guid>
      <dc:creator>djoncour_</dc:creator>
      <dc:date>2013-09-11T22:10:56Z</dc:date>
    </item>
    <item>
      <title>Re: Plugin to handle identity propagation between an external application and Nuxeo CAS_AUTH and PORTAL_AUTH</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/plugin-to-handle-identity-propagation-between-an-external/m-p/320854#M7855</link>
      <description>&lt;P&gt;hello, did you find a solution ?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2013 16:34:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/plugin-to-handle-identity-propagation-between-an-external/m-p/320854#M7855</guid>
      <dc:creator>ludovic_UTT</dc:creator>
      <dc:date>2013-12-10T16:34:01Z</dc:date>
    </item>
  </channel>
</rss>

