06-13-2018 05:19 AM
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>
Attention: Blogs & Forums are in READ-ONLY mode from Oct 9-19 as we transition to our new platform. Learn more.
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.