-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Addition of group research for a user through group members
- Loading branch information
Thomas GRAVIOU
committed
Dec 23, 2016
1 parent
0e5d038
commit a245488
Showing
1 changed file
with
71 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a245488
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Our OpenLDAP doesn't have a memberOf attribute on the member objects.
We request the groups of a user by checking in which groups they are a value of the member attribute.
This requires a new
<GROUPS_FETCH_BY_MEMBEROF>false</GROUPS_FETCH_BY_MEMBEROF>
parameter in theldap_authorizations.xml
. True is the normal lookup, false is my lookup.You also need to set
<GROUP_MEMBERS_ATTRIBUTE_NAME>
to the name of the field mapping users to groups. By default, that name ismember
.