As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
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-e40c-4152-9497-b0cfdb916a6a%2F%2Fview_documents )
<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>