AnsweredAssumed Answered

Login in alfresco with java class

Question asked by natmacri on Mar 8, 2019
Latest reply on Mar 10, 2019 by angelborroy

Goodmorning everyone,
I am integrating Alfresco into my software where I would like to log in using a backend class in java so that the user does not have to enter the credentials in the login form twice.
Currently I can log in using a REST call http://myip:myport/alfresco/service/api/login?u=myuser&pw=mypassword obtaining 200 OK and the associated ticket in response.
In the window of my software I should be able to view the dashboard of Alfresco but despite being logged in, it proposes the login form and the insertion of credentials. The url  is as follows:
http://myip:myport/share/page/user/admin/dashboard?ticket="+ticket

 

Thanks in advance.

Outcomes