Foros de discusión

LDAP Authentication Filter - Sub Groups

James Evans, modificado hace 11 años.

LDAP Authentication Filter - Sub Groups

New Member Mensajes: 5 Fecha de incorporación: 4/01/13 Mensajes recientes
Hi all,

Was wondering if the following was possible for an LDAP Authentication Filter, and how I'd go about doing it.

I have an OU called LiferayPortal. Within tis OU are many sub-OU's, which then have groups, and users assigned to those groups in LDAP.

I would like to setup my authentication filter to search through all those OU's and groups to see if the user trying to log in is a member of at least one of them.

At the moment I have a separate group in LiferayPortal called LiferayPortalUsers, and I add users to that group as well as any others. My authentication filter then checks that one group. I would like to get rid of this duplication if possible by having liferay scan the sub-groups.

I've seen other applications which use LDAP to have a MaxSubGroupDepth field where they can specify how many levels down the authentication checks, and was wondering if there's something similar / an alternative in liferay.

Many Thanks