Plugin to handle identity propagation between an external application and Nuxeo CAS_AUTH and PORTAL_AUTH


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.

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.

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

<?xml version="1.0"?>
<component name="org.esup.ecm.login">
<!-- certains composants doivent être chargés avant que ce fichier soit
       lu car ils contiennent des points d'extension sur l'authentification -->

    <authenticationPlugin name="CAS2_AUTH">
            <!-- variable contenant le ticket dans l'url -->
            <parameter name="ticketKey">ticket</parameter>
            <!-- si utilisation du mode proxy -->
            <!--<parameter name="proxyKey">ticket</parameter>-->
            <parameter name="appURL">http://localhost:8080/nuxeo/</parameter>
            <!-- URL de login du serveur CAS -->
            <parameter name="serviceLoginURL">https://localhost/cas/login</parameter>
            <!-- URL de validation du ticket du serveur CAS -->
            <parameter name="serviceValidateURL">https://localhost/cas/serviceValidate</parameter>
            <!-- variable contenant le nom du service dans l'URL -->
            <parameter name="serviceKey">service</parameter>
            <!-- URL de logout de CAS -->
            <parameter name="logoutURL">https://localhost/cas/logout?service=http://localhost:8080/nuxeo/</parameter>
<!-- chainage de l'authentification : on garde une authentification de type
     BASIC pour les accès particuliers (RSS/cmis/contentAutomation) -->
<extension point="specificChains" target="org.nuxeo.ecm.platform.ui.web.auth.service.PluggableAuthenticationService">

    <specificAuthenticationChain name="Automation">


Thank you for your help.

0 votes

0 answers



hello, did you find a solution ?