cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco-Egroupware- PHP login

concorde
Champ in-the-making
Champ in-the-making
Dear developpers,
Does any one has a php script to login to alfresco via php application.
5 REPLIES 5

brian_robinson
Champ in-the-making
Champ in-the-making
Hi there,

A lot of information regarding PHP and Alfresco can be found here: http://wiki.alfresco.com/wiki/PHP_SDK .  Hopefully that will help you out!

Thanks,
-Brian

brian_robinson
Champ in-the-making
Champ in-the-making
More specifically, this is probably what you're looking for: http://wiki.alfresco.com/wiki/PHP_Tutorial_One

Thanks,
-Brian

concorde
Champ in-the-making
Champ in-the-making
Thanx for the answer,
Waht i wanted to do is to create a session in PHP then login in alfresco without using login.jsp.
I have tested all tutorials but when i go to : http://localhost:8080/alfresco/  it requests again the admin/password to login again.
I have an intranet and i wanted users fell in their space automatically when they click on the link to alfresco.
My intranet and alfresco athenticate from LDAP, so i wanted to use the same users/password to login without retyping again the user/password in the GUI of alfresco (login.jsp).
Best regards.

brian_robinson
Champ in-the-making
Champ in-the-making
Hi there,

I'm probably not understanding exactly what you're trying to do here, but here are a few resources that may help you figure things out:
1. Customizing the login page: http://wiki.alfresco.com/wiki/Customising_The_Login_Page
2. Authentication, including LDAP: http://wiki.alfresco.com/wiki/Enterprise_Security_and_Authentication_Configuration
3. LDAP integration notes: http://ecmarchitect.com/archives/2007/05/15/753

Hopefully this helps.

Thanks,
-Brian

jbarmash
Champ in-the-making
Champ in-the-making
Hello,

If you want to be able to pass credentials from your application to Alfresco, you need to write a custom authentication filter on alfresco side.  You basically need the filter to have the PHP pass on the user name (say in header), and the filter needs to read that username, and assume that this is an authenticated user.  This is how you typically do Single Sign On Authentication. 

Read this page for hwo to create a custom filter.


http://wiki.alfresco.com/wiki/Central_Authentication_Service_Configuration


Jean