cancel
Showing results for 
Search instead for 
Did you mean: 

Login alfresco using php?

concorde
Champ in-the-making
Champ in-the-making
Dear Developpers,
Is there any way to login alfresco using php api without using GUI (login.jsp). I have a link to alfresco in my intranet.
The authentication is made via LDAP.
Thanx.
1 REPLY 1

romain_lamarche
Champ in-the-making
Champ in-the-making
Yes you can.

The PHP api does it for you if you use the "getUrl" method on any node.

So you just have to provide an url to your repository with the ticket in a get parameter. You can get the ticket trough the session object.

But be sure not to authenticate the user with the admin credentials !