cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco Module for Joomla!

dhjiz
Champ in-the-making
Champ in-the-making
Hi,

I'm currently making a "Bridge to Alfresco" module for Joomla. Using the Alfresco PHP Library, included with the module, I have a problem now for authentication.

To get access to the Alfresco Repository, I would like to use the joomla users. I admit that the users are the same in Joomla and Alfresco, and the passwords are the same too.

The problem is, I just have the hash of the passwords in Joomla and Alfresco, and for the same password, they are not identical. I would like to know if there's a way to get a user connected, having the admin login and password, or any other solution. I have many idea for the authentication but no one is really satisfying.

Thanks.
14 REPLIES 14

rwetherall
Confirmed Champ
Confirmed Champ
Hi,

A Joomla integration sounds really interesting and something I'm sure we would be keen to find out more about.

There are a coiuple of ways in which you could integrate the Joomla and Alfresco users.  Perhaps a bit more details will suggest which is the best way to go.

Cheers,
Roy

dhjiz
Champ in-the-making
Champ in-the-making
I talked to someone on the joomla-dev chat on freenode, and he said i must make a plugin to manage the authentication of the users to Alfresco, and then a component to permit browsing through the Alfresco spaces.

So now I'm trying to understand how do joomla plugins work.

mikeh
Star Contributor
Star Contributor
Coincidentally, Slashdot has just posted a review of the book "Learning Joomla! 1.5 Extension Development"

Obviously 1.5 is still pre-release, but this may be of use anyway.

See: http://books.slashdot.org/books/07/08/15/1423212.shtml


Thanks,
Mike

dhjiz
Champ in-the-making
Champ in-the-making
Thanks a lot ^^

Does anyone know if there's a way to get the Full name and the email address of an Alfresco user with the Alfresco PHP Library, onced logged in to the repository ?

dhjiz
Champ in-the-making
Champ in-the-making
Please, do you have an answer ?

thanks

EDIT: i'm making a model-view-controller component for Joomla, but I don't see what I can do in the model. Do you think I need a model ? I think no, that's why my model is empty for now.

rdanner
Champ in-the-making
Champ in-the-making
Please, do you have an answer ?

thanks

EDIT: i'm making a model-view-controller component for Joomla, but I don't see what I can do in the model. Do you think I need a model ? I think no, that's why my model is empty for now.


Dhjiz,

I am interested in your integration.  What are the objectives of the integration?

dhjiz
Champ in-the-making
Champ in-the-making
alfresco users can log in to joomla with their alfresco username and password. I made a joomla plugin for that.

and then alfresco users can view their documents, once logged in to the repository thanks to the plugin.

They can browse spaces and download documents. And because they are logged in with their alfresco user account, the component uses the alfresco permission of the user for displaying documents.

But i'm still wondering how to get the Full name and the email address of an Alfresco user with the Alfresco PHP Library.

EDIT: oh and I forgot to say that the plugin and the component are finished and working, although there are still some bugs.

To make the component, I took the whole Simple Browse example included with the Alfresco PHP Library, and I was wondering what were licensed the source code and the included images and Alfresco logo.

EDIT2: oh and another question Smiley Very Happy
Do you know if it's possible to connect as guest with the alfresco php library ?

dhjiz
Champ in-the-making
Champ in-the-making
Please

could someone answer my questions

rdanner
Champ in-the-making
Champ in-the-making
Please

could someone answer my questions

I don't have the answers, but I thought it might be easer if we pulled them out.  They are mixed with statements in the post and kind of get lost:

    But i'm still wondering how to get the Full name and the email address of an Alfresco user with the Alfresco PHP Library.

    Can you connect as Guest via the Alfresco PHP Library