Can I configure nuxeo mobile for CAS2 auth

I have an nuxeo fasttrack 5.7.3 with CAS2 auth and ldap. I have installed nuxeo-mobile-dm (and sc) and when i connect a mobile to my nuxeo server, I get basic authentification screen login. How can i configure my nuxeo server to my CAS2 authentification ? Merci

0 votes

1 answers



Maybe the url pattern used by nuxeo-mobile is not chained to CAS_AUTH ? it seems a specific authentication chain is used for

CAS_AUTH should be stacked in the specific chain

0 votes

Thank you for this response. I find this file : nxserver/web/root.war/modules/nuxeo-web-mobile-dm/OSGI-INF/web-mobile-authentification-chain-contrib.xml without CAS2_AUTH chaining. How do I add this chain (in my custom section) ?

Hello, you should not edit this file and use a bundle instead … do you use $NUXEO_HOME/templates/custom to update your configuration ?

Yes, i use the template custom.

Maybe you can try adding this contrib in $NUXEO_HOME/templates/custom/config folder

(Assumed your CAS authentication plugin is called CAS2_AUTH)

<component name="">


  <extension target="org.nuxeo.ecm.platform.ui.web.auth.service.PluggableAuthenticationService"
    <specificAuthenticationChain name="mobile-app">


Bonne journée,



Merci Antoine, I can connect now with my login/password set in the mobile config server. I don't see my auth cas login dialog .. I think i pass through the basic auth ? It's a fisrt step. I ca see my documents but can't upload. I am lookink for log information.

Using a browser from a desktop, CAS login doesn't work anymore. We fall back to basic auth ( http://localhost:8080/nuxeo/login.jsp?nxtimeout=true&forceAnonymousLogin=true ) with "Inactive session" error message.