cancel
Showing results for 
Search instead for 
Did you mean: 

Permanent links don't work when ANONYMOUS_AUTH_FOR_CAS2 enabled

ITassas_
Champ on-the-rise
Champ on-the-rise

Hi, We still have a problem when ANONYMOUS_AUTH_FOR_CAS2 is enabled. When accessing a direct link ( https://nuxeo_server/nuxeo/nxdoc/default/5e84c7a3-e40c-4152-9497-b0cfdb916a6a/view_documents ) without being logged to the Nuxeo platform before, redirection is wrong https://cas_server/cas/login?service=https%3A%2F%2Fnuxeo_server%2Fnuxeo%2Fnxstartup.faces ( where service is the appURL parameter of the CAS2_AUTH authentication plugin ).

When ANONYMOUS_AUTH_FOR_CAS2 is disabled, redirection works fine ( https://cas_server/cas/login?service=https%3A%2F%2Fnuxeo_server%2Fnuxeo%2Fnxdoc%2Fdefault%2F5e84c7a3... )

        <authenticationPlugin name="ANONYMOUS_AUTH_FOR_CAS2" enabled="true"
            class="org.nuxeo.ecm.platform.ui.web.auth.cas2.AnonymousAuthenticatorForCAS2">
            <loginModulePlugin>Trusting_LM</loginModulePlugin>
            <needStartingURLSaving>true</needStartingURLSaving>
        </authenticationPlugin>
        <extension
                target="org.nuxeo.ecm.platform.ui.web.auth.service.PluggableAuthenticationService"
                point="chain">
                <authenticationChain>
                        <plugins>
                                <plugin>BASIC_AUTH</plugin>
                                <plugin>CAS2_AUTH</plugin>
                                <plugin>ANONYMOUS_AUTH_FOR_CAS2</plugin>
                        </plugins>
                </authenticationChain>
        </extension>

0 REPLIES 0