Return-Path: Delivered-To: apmail-portals-jetspeed-dev-archive@www.apache.org Received: (qmail 25407 invoked from network); 28 Jul 2006 12:29:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 28 Jul 2006 12:29:43 -0000 Received: (qmail 80826 invoked by uid 500); 28 Jul 2006 12:29:42 -0000 Delivered-To: apmail-portals-jetspeed-dev-archive@portals.apache.org Received: (qmail 80587 invoked by uid 500); 28 Jul 2006 12:29:41 -0000 Mailing-List: contact jetspeed-dev-help@portals.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Jetspeed Developers List" Delivered-To: mailing list jetspeed-dev@portals.apache.org Received: (qmail 80569 invoked by uid 500); 28 Jul 2006 12:29:41 -0000 Delivered-To: apmail-jakarta-jetspeed-dev@jakarta.apache.org Received: (qmail 80566 invoked by uid 99); 28 Jul 2006 12:29:41 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Jul 2006 05:29:41 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Jul 2006 05:29:40 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 1959D41000B for ; Fri, 28 Jul 2006 12:27:16 +0000 (GMT) Message-ID: <1765220.1154089636101.JavaMail.jira@brutus> Date: Fri, 28 Jul 2006 05:27:16 -0700 (PDT) From: "Aaron Evans (JIRA)" To: jetspeed-dev@jakarta.apache.org Subject: [jira] Commented: (JS2-491) Enhance J2 LDAP Security Documentation In-Reply-To: <1708163726.1139269137309.JavaMail.jira@ajax.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/JS2-491?page=comments#action_12424082 ] Aaron Evans commented on JS2-491: --------------------------------- I agree that folks usually have an existing LDAP installation and want to use their existing schema and it needs to be somewhat configurable, or at the very least, some documentation showing how to adapt the SPI components to a custom schema. In my case, I created new ATN and ATZ SPI components for using my custom OpenLDAP schema, so I am not using any of the LDAP components provided by J2. The second thing that ought to be easily configurable is the hashing algorithm that is employed for passwords and any prefix/suffix string that should be used. For example, for SunDS, you might want your hashing algorithm to be SHA-1 and for the {SHA} prefix to be pre-pended to the password string for LDAP storage. > Enhance J2 LDAP Security Documentation > -------------------------------------- > > Key: JS2-491 > URL: http://issues.apache.org/jira/browse/JS2-491 > Project: Jetspeed 2 > Issue Type: Improvement > Components: Security > Affects Versions: 2.1-dev > Reporter: David Le Strat > Fix For: 2.1-dev > > > From Davy De Waele email to the list: > Judging from the recent activity on the mailing list I noticed some > interest in using LDAP & Jetspeed > Some thoughts come to mind: > 1. The instructions located at > http://portals.apache.org/jetspeed-2/multiproject/jetspeed-security/ldap > .html are really only applicable for people who are building jetspeed > from source. > Due to the fact that the security-spi-ldap*.xml files shown there are > coming from SVN (interface changes, additional objects in the > configuration files that are not in the 2.0 binary release), users who > have installed jetspeed2 via the installer attempting to follow these > instructions will run into configuration issues. > What would be the best way to address this? > I think we should make a difference between users who are familiar with > Maven, SVN, compiling/building/deploying, and users who just want to > get > the thing up & running using the installer. > Shouldn't we put this information into perspective by: > a) Clearly indicating that this is only intended for people building > from source > b) Provide an additional manual on what needs to be done starting from > a > binary release (2.0 version) > > The user would have to > * copy the security-spi-ldap*.xml files (we provide > downloadable spring XML files acting as examples) > * remove their default security-spi-atn.xml > * restart tomcat > * preparing their LDAP server > As far as LDAP support goes, we should provide instructions on how > existing LDAP servers can be used with jetspeed. We can also provide > downloadable schema files & LDIF sample data for all major vendors + > documentation) > I could provide such manuals for OpenLDAP,SunDS and ApacheDS. > 2. The major problem that users will be facing today is that encrypted > passwords are not supported in the jetspeed2.0 release. Given that this > functionality has been committed to the codebase, how do you feel > towards providing a downloadable JAR file to users that would act as a > replacement for their current jetspeed-security-2.0.jar - doesn't have > to be anything official, could be included as a link in the > documentation) > The user would have to > * replace his jetspeed-security-2.0.jar > * restart tomcat > The user would have support for encrypted passwords and group/role > membership via LDAP. > 3. OpenLDAP schema file > I had to add groupOfUniqueNames as a parent to the jetspeed-2-group and > jetspeed-2-role objectClasses in order for the group/role assignment to > work in OpenLDAP. > ApacheDS doesn't really care when objects are created in the LDAP tree > containing attributes that aren't defined in the LDAP schema. OpenLDAP > does :) I've attached the new jetspeed.schema file. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org For additional commands, e-mail: jetspeed-dev-help@portals.apache.org