Foren
add automaticaly user in organisation after create in ldap
Gilles Galboud, geändert vor 11 Jahren.
add automaticaly user in organisation after create in ldap
New Member Beitrag: 1 Beitrittsdatum: 15.11.12 Neueste Beiträge
hey,
At first, i use ldap as authentification system.
i'd like to know how can i do to assign the users in my default organisation AUTOMATICALY ?
thanks
At first, i use ldap as authentification system.
i'd like to know how can i do to assign the users in my default organisation AUTOMATICALY ?
thanks
David H Nebinger, geändert vor 11 Jahren.
RE: add automaticaly user in organisation after create in ldap
Liferay Legend Beiträge: 14919 Beitrittsdatum: 02.09.06 Neueste Beiträge
I think you may be able to do this via some portlal-ext.properties settings.
If you wanted to do it programmatically, I'd use a model listener on the User object. In your listener you can test post-add if they're in the organization and add them if they're not.
If you wanted to do it programmatically, I'd use a model listener on the User object. In your listener you can test post-add if they're in the organization and add them if they're not.
Jack Bakker, geändert vor 11 Jahren.
RE: add automaticaly user in organisation after create in ldap
Liferay Master Beiträge: 978 Beitrittsdatum: 03.01.10 Neueste Beiträge
1) which version of Liferay ?
2) which LDAP ?
3) given users get sync'd in ; I would look at: on the ldap side putting them in an ldap group and on the liferay side: associate the group with the organization
putting LDAP in control of user/group associations has many advantages
I use in LDAP groups with prefix LR_ and then mod the group import filter to only look at LR_* groups, where I also config to create role per group
2) which LDAP ?
3) given users get sync'd in ; I would look at: on the ldap side putting them in an ldap group and on the liferay side: associate the group with the organization
putting LDAP in control of user/group associations has many advantages
I use in LDAP groups with prefix LR_ and then mod the group import filter to only look at LR_* groups, where I also config to create role per group