I simply installed Alfresco 5.2 Community edition and installed Alfresco ADF 2 demo shell application:

<https://github.com/Alfresco/alfresco-ng2-components/tree/master/demo-shell>

I deploy acitiviti 6.0 to tomcat 8 port 9999 and I also changed the admin password to 'admin' so user name is admin and password is admin to be the same as for alfresco community edition. I can login to acitiviti by going to localhost:9999. 

But after running ADF demo shell app (npm start) and enable APS slider and login at localhost:3000 as admin and password admin, I get the below error when I login:

Request has been terminated Possible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc.

So I cannot login to APS but login to ACS works fine.

How to solve this problem?

Note that it is community edition of activiti 6.0 and enterprise edition called APS cannot be used.