cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco 1.4, ACEGI,CAS SSO and LDAP integration.Help needed

pakin
Champ in-the-making
Champ in-the-making
Hi all alfresco integrators,

This is a call to those developers or integrators that have or have had the same need than me which is the topic subject. Both those that have been successful in this task and those that are still looking for a solution, are invited to collaborate. I think there is a lot of "un-wired" information that generates a lot of confusion about this subject and nobody seems to have the definitive solution to something that is very important to integrate Alfresco as an enterprise tool, in any serious enterprise I mean. We (dpalmeira, me and others) have been about 1 month or more trying to find a definitive solution but it has become a very painful task for us  :?, so we think that we need the help from the community and we're going to start from the beginning again and we'll try to report our progress with a lot of details about it. And we hope too, that other people could contribute with ideas and code.

That's all by now. Thanks for helping us. I hope we reach our target.

You'll have news from me soon but I don't know if good or bad ones Smiley Happy

Regards. Pakin

P.D: If you reply this message with relevant information, please, specify version information from the libraries you've used.
11 REPLIES 11

frank_s
Champ in-the-making
Champ in-the-making
I've been struggling to implement a setup like this (albeit using Alfresco 2.9B) for quite a while now and have so far failed to get anywhere.

Having read this thread, I have to admit that I'm thoroughly confused. You talk about CAS/SSO, but at the same time you describe the import of user information from an LDAP server. Isn't one of the points of using CAS that you don't have to store and maintain user data on these systems?

The way I've understood CAS/SSO to work is that the application redirects to the CAS server, which then binds to the LDAP server and establishes credentials of the user that way. The only things to get passed back and forth between the application (i.e. Alfresco) and the CAS server should be service tickets.

It seems to me what you're configuring is an LDAP authentication - could someone please fill me in on what I am missing?

f.

mikewaters
Champ in-the-making
Champ in-the-making
Hi Frank

The username also gets passed between the CAS server and the app, so that the app knows who is making the request and can act accordingly.
There are 2 parts to (S)SO - authenitcation (is the user who they say they are, which CAS handles) and authorisation - ie what is the user allowed to do or see.

The latter requires the app to know about the user's roles and permissions which are not given to it by CAS - all it gets is a username so Alfresco has to have the users set up in advance of the request so there is (in the case of Alfresco) a home space ready and waiting for the user and the user is a member of the correct roles etc to see restricted content.

The thread discusses how to do this -

One way of doing this is to read a single user's data from LDAP on the fly when a user request hits the filters and translate that into alfresco data just before the request gets to alfresco "proper". This might be slow and takes away some of the point of using CAS (might as well authenticate with LDAP at the same time)

The other way is to import all the user data ahead of time, but then you might be doing unneccessary work.

Shibboleth attempts to address these issues by passing more than just the username at the time of authentication.

hth Smiley Happy

-Mike