Details
-
Improvement
-
Resolution: Fixed
-
Major
-
1.0 B6
-
None
-
LDAP patch
-
Unit, Integration
-
Description
Implementation of a substitude LDAP authentication class.
The new features and changes:
- Separate LDAP login and authentication validation
- An LDAP group membership is first checked before a user can be authenticated against LDAP
- LDAP Groups are handled recursivly (groups in groups)
- LDAP Groups and their members are cached with an expiration
- LDAP attributes can update XWiki user attributes configurable at create time or on every login
- LDAP group membership can be sync'ed with XWiki group membership
- If authentication with LDAP fails it still will try to authenticate against the XWiki DB
- detailed comments in xwiki.cfg
- pretty much every detail of the behavior can be configured in xwiki.cfg
- All valuable features from the old LDAPAuthServiceImpl are reimplemented (except for LDAP bind being sufficent for login implemented by the check_level configuration)
- Any LDAP attribute can be used containing the XWiki name
- Added SSL support
- Each virtual server can have it's own LDAP configuration even enable disable LDAP
This has been tested against OpenLDAP, Novell eDirectory and ApacheDS.
I would like to ask for a code-read, verification of how the module is using the XWiki APIs and testing in various environments.
Most of all, I am looking for feedback.
Attachments
Issue Links
- is duplicated by
-
XE-188 LDAP user isn't added to XWikiAllGroup
- Closed
-
XWIKI-72 Login with XWiki password if user not in LDAP doesn't work
- Closed
-
XWIKI-1144 LDAP authentication ignores xwiki.authentication.ldap.fields_mapping when getting user principal
- Closed
-
XWIKI-2113 Unable to login into xwiki while using LDAP authentication together with "xwiki registration"
- Closed
-
XWIKI-330 XWiki with LDAP support should also be able to give authorisation according to LDAP groups
- Closed
-
XWIKI-865 add support for LDAP over SSL (ldaps)
- Closed
- is related to
-
XE-194 Add LDAP integration/functional tests
- Closed
- relates to
-
XWIKI-238 When using XWiki + Active directory , treat sAMAccountName (name) case insensitively.
- Closed
-
XWIKI-1629 NPE in LDAPAuthServiceImpl
- Closed
-
XTCONFRES-8 Add new LDAP authentication service parameters
- Closed