AnsweredAssumed Answered

Alfresco 5.0b mt authentication problems

Question asked by ebogaard on Oct 31, 2014
Latest reply on Dec 17, 2014 by gavinc
While trying out 5.0b, I ran into authentication problems with the mobile interface and tenants.
I can login to the 'main' tenant (the one without domain) using the mobile app on Android or iOS, but I get an authenticaion error when I try to login with a tenant user (which I know works.

Functioning login to main tenant:

xyz - - [31/Oct/2014:23:05:19 +0100] "GET /alfresco/service/api/server HTTP/1.1" 200 116 "-" "AlfrescoApp/395 CFNetwork/711.1.12 Darwin/14.0.0"
xyz - - [31/Oct/2014:23:05:19 +0100] "GET /alfresco/api/-default-/public/cmis/versions/1.0/atom HTTP/1.1" 200 21149 "-" "AlfrescoApp/395 CFNetwork/711.1.12 Darwin/14.0.0"
xyz - - [31/Oct/2014:23:05:20 +0100] "GET /alfresco/api/-default-/public/cmis/versions/1.0/atom HTTP/1.1" 200 21149 "-" "AlfrescoApp/395 CFNetwork/711.1.12 Darwin/14.0.0"
xyz - - [31/Oct/2014:23:05:20 +0100] "GET /alfresco/api/-default-/public/cmis/versions/1.0/atom/id?id=881fae2c-46c4-48af-a3ac-ef62d7dd7845&filter=&includeAllowableActions=true&includeACL=false&includePolicyIds=false&includeRelationships=none&renditionFilter= HTTP/1.1" 200 7551 "-" "AlfrescoApp/395 CFNetwork/711.1.12 Darwin/14.0.0"
… et cetera


Non-functioning login to tenant user:

xyz - - [31/Oct/2014:23:06:46 +0100] "GET /alfresco/service/api/server HTTP/1.1" 200 116 "-" "AlfrescoApp/395 CFNetwork/711.1.12 Darwin/14.0.0"
xyz - - [31/Oct/2014:23:06:46 +0100] "GET /alfresco/api/-default-/public/cmis/versions/1.0/atom HTTP/1.1" 200 21149 "-" "AlfrescoApp/395 CFNetwork/711.1.12 Darwin/14.0.0"
xyz - - [31/Oct/2014:23:06:46 +0100] "GET /alfresco/api/-default-/public/cmis/versions/1.0/atom HTTP/1.1" 200 21149 "-" "AlfrescoApp/395 CFNetwork/711.1.12 Darwin/14.0.0"
xyz - - [31/Oct/2014:23:06:46 +0100] "GET /alfresco/api/-default-/public/cmis/versions/1.0/atom/id?id=881fae2c-46c4-48af-a3ac-ef62d7dd7845&filter=&includeAllowableActions=true&includeACL=false&includePolicyIds=false&includeRelationships=none&renditionFilter= HTTP/1.1" 404 7038 "-" "AlfrescoApp/395 CFNetwork/711.1.12 Darwin/14.0.0"
-that's it-

Notice that it's actually shing a 404 (not found), not a 403 (not authenticated).

As Alfresco is behind a (local) Apache reverse proxy, I already tried to add proxyName and proxyPort, but without result (notice that even without this, the main tenant already worked).

I get the same authentication error when I try connecting directly to tomcat on port 8080.

Can anyone confirm or deny that the mobile app does still work with 5.0b MT?
If it should work, could you point me in the right direction, so I can solve this?

Outcomes