I need to make a Liferay-hook, when the user logins, check in LDAP for the group.
If the group is "users" do nothing especial, but if don't have any LDAP group I need to redirect to other page inside the Liferay portal.
I know how to do the redirect, but my problem is: How can I know the LDAP group of the user?
Actually I only import the users group in liferay LDAP configuration like this:
(&(uid=@screen_name@)(memberof=cn=usersr,ou=groups,o=users.com))
Any idea?
Thanks