[Deploying Sakai] Group Mapping
Dan McCallum
dmccallum at unicon.net
Tue Mar 22 08:47:53 PDT 2011
edu.amc.sakai.user.LdapAttributeMapper bean takes a userTypeMapper
dependency, which controls how Sakai user types are calculated. Several
userTypeMapper options are preconfigured as named beans in the default
jldap-beans.xml [1]. You probably want to enable the
edu.amc.sakai.user.EntryAttributeToUserTypeMapper bean by referencing it
from edu.amc.sakai.user.LdapAttributeMapper.
Assuming you pick EntryAttributeToUserTypeMapper, use its
attributeValueToSakaiUserTypeMap property to map from LDAP values to
Sakai values. The mapped LDAP attribute is specified by
logicalAttributeName, which should correspond to a key in the
attributeMappings map in the edu.amc.sakai.user.LdapAttributeMapper bean.
The userTypeMapper options are discussed in a bit more detail in the
readme. [2]
- Dan
1 -
https://source.sakaiproject.org/svn/providers/tags/sakai-2.7.0/component/src/webapp/WEB-INF/jldap-beans.xml
2 -
https://source.sakaiproject.org/svn/providers/tags/sakai-2.7.0/jldap/README_JLDAP.txt
On 03/22/2011 08:08 AM, Larry Dougher wrote:
> Hi all,
>
> We are running OD on Mac OS X server and after a LOT of help from Steve
> Swinsburg I have finally got LDAP working with Sakai. Everything is
> mapping correctly (First name, Last name, Email, etc) except Type which
> I assumed is under the group membership part of the jldap-beans.xml
> file. So, I have attached a mapping of what our directory looks like.
> What I would like is to specify with the groupmembership attribute in
> the jldap-beans.xml file the groups that you see on the bottom (Faculty,
> WHS students, etc). So that when an LDAP user logs in and goes to
> account it would look like this:
>
> User ID: jdoe
> First Name: John
> Last Name: Doe
> Email: jdoe at windsorschools.net
> <mailto:jdoe at windsorschools.net>
> Type: Faculty
>
> Thanks!!!,
>
>
> Larry Dougher
>
> Technology Coordinator / ACSP 10.6 / ACMT
>
> Windsor School District
>
> http://windsorschools.net
>
>
>
>
> _______________________________________________
> production mailing list
> production at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/production
>
> TO UNSUBSCRIBE: send email to production-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
More information about the production
mailing list