cancel
Showing results for 
Search instead for 
Did you mean: 

CAS authenticated user creation

sundersnegi
Champ in-the-making
Champ in-the-making
Hi Everyone,

I have recently installed Alfresco and found it great.

I tried its integration with LDAP and then CAS.

On authentication with LDAP, the authenticated user, if not present in the Alfresco database, gets added (gets its profile automatically created) to Alfresco.
This is fine.
Then i integrated it with CAS  from Ja-SIG and expected the same behavior.

Does the behavior varies for LDAP and CAS integration?

I haven't attached my setting for CAS integration of Alfresco.

Thanks for any help.

Sunder Singh Negi
4 REPLIES 4

jbarmash
Champ in-the-making
Champ in-the-making
I believe the behavior should be the same whether you login through CAS or LDAP, though not sure about what issue you might be having.

sundersnegi
Champ in-the-making
Champ in-the-making
Hi jbarmash,

I also believe the same.

I have followed the documentation at AlfrescoWIKI regarding CAS configuration.

I wanted was that the user that passed through CAS should get created into Alfresco database.

Any ideas how can it be done?

Thanks for any help.

mikewaters
Champ in-the-making
Champ in-the-making
That wiki page CAS configuration is one of ours - or at least we originally wrote it and the CAS filter java code.

The code in the CAS filter definitely does not create a new user if it doesn't exist, but it can be made to do so.

jbarmash: if you can provide some pointers to where the LDAP authentication code is, (that creates the user on the fly), we can add it to the CAS filter.

cheers

-Mike

sundersnegi
Champ in-the-making
Champ in-the-making
Hi,

Thanks for your replies.

I have achieved what i required.

I Integrated Alfresco with CAS and then also added the ldap authentication.
and also integrated CAS with LDAP.

This solved my problem.

Now any user authenticated with CAS/LDAP gets its profile created on ALfresco, if it doesn't exist.

I had also looked at the source of ldap (/projects/repository/source/java/org/alfresco/repo/security/authentication/ldap/) in Alfresco CE 2.1 source (REVISION  929). But could not really make out the source.

Can anybody help me on this?

Thanks,

Sunder Singh Negi