Profile2 1.3.7 released

I am very pleased to announce the release of Profile2 1.3.7.

This is a maintenance release of the 1.3 series and includes a number of internationalisation, user interface and accessibility fixes. It is a recommended upgrade for any institution using Profile2 1.3.

For the full list of fixes, see JIRA:
http://jira.sakaiproject.org/secure/IssueNavigator.jspa?reset=true&pid=10500&fixfor=11828

As always, the full installation and configuration guide is available on Confluence:
http://confluence.sakaiproject.org/display/PROFILE/Profile2

The next beta/release candidate of Sakai 2.7 will include this version of Profile2, and this version will most likely be the version included in the official community release of Sakai 2.7.0.

Advertisements

New features for the LDAP Provider in Sakai

I’ve just completed work on a set of modifications to the LDAP Provider in Sakai, which should be of interest to anyone that has an LDAP integration,  as it adds some nifty features:

1. Use a preferred name if it exists:
http://jira.sakaiproject.org/browse/SAK-17238

This adds an additional field to the jldap-beans.xml config file called preferredFirstName, which if set, will map the value of that field onto the firstName field preferentially. So if you have a preferredName field in your LDAP directory, that value can pass through into Sakai.

2. Searching an LDAP server given some criteria:
http://jira.sakaiproject.org/browse/SAK-18288

This leverages a new kernel interface called ExternalUserSearchUDP added as part of SAK-6792 which allows searching of an external directory, for matches in either username, email, first name or last name.
JLDAP provider now implements this interface and will search the directory for users that match the criteria. This is exposed in the UserDirectoryService as searchExternalUsers(String criteria, int first, int last).

3. Finding users who share an email address:
http://jira.sakaiproject.org/browse/SAK-17922

This leverages a new kernel interface called UsersShareEmailUDP which allows searching of an external directory for multiple users who share the same email address. The UserDirectoryService already takes advantage of this via the findUsersByEmail(String email) method, however the provider was only returning one entry. With this extension, the provider can now return the full set of matches.

4. Adding a jpegPhoto property to a User’s properties:
http://jira.sakaiproject.org/browse/SAK-17816

This adds an additional field to the jldap-beans.xml config file called jpegPhoto, which if set, will map the value of that field to a corresponding property in the User object, containing a BASE-64 encoded JPEG image. Some directory providers add official images to this field for their users, so this will allow a central store of these images.
This will then feed into Profile2, so these official images can be used preferentially.

Comments and feedback welcome.