Return-Path: Delivered-To: apmail-incubator-jspwiki-dev-archive@locus.apache.org Received: (qmail 25207 invoked from network); 18 Mar 2008 23:46:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Mar 2008 23:46:26 -0000 Received: (qmail 68375 invoked by uid 500); 18 Mar 2008 23:46:23 -0000 Delivered-To: apmail-incubator-jspwiki-dev-archive@incubator.apache.org Received: (qmail 68367 invoked by uid 500); 18 Mar 2008 23:46:23 -0000 Mailing-List: contact jspwiki-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jspwiki-dev@incubator.apache.org Delivered-To: mailing list jspwiki-dev@incubator.apache.org Received: (qmail 68358 invoked by uid 99); 18 Mar 2008 23:46:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Mar 2008 16:46:23 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Mar 2008 23:45:31 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 70025234C0AA for ; Tue, 18 Mar 2008 16:44:24 -0700 (PDT) Message-ID: <1030469355.1205883864457.JavaMail.jira@brutus> Date: Tue, 18 Mar 2008 16:44:24 -0700 (PDT) From: "oraps (JIRA)" To: jspwiki-dev@incubator.apache.org Subject: [jira] Commented: (JSPWIKI-184) Cannot register new user and save profile when integrate with LDAP authentication In-Reply-To: <25370981.1202887927631.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JSPWIKI-184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12580172#action_12580172 ] oraps commented on JSPWIKI-184: ------------------------------- Benjamin, I follow your steps, and I get this error message. "Could not save profile: Login name cannot contain these characters: "'<>;&\@{}%$" Here are the steps: 1) login 2) Go to the Profile tab (/UserPreferences.jsp?tab=profile) 3) Enter the Name and Email Address 4) Click the Save button 5) Get the above error message. > Cannot register new user and save profile when integrate with LDAP authentication > --------------------------------------------------------------------------------- > > Key: JSPWIKI-184 > URL: https://issues.apache.org/jira/browse/JSPWIKI-184 > Project: JSPWiki > Issue Type: Bug > Components: Authentication&Authorization > Affects Versions: 2.6.0 > Environment: Windows XP, Tomcat 5.5 > Reporter: oraps > Priority: Minor > > I am able to follow the instructions on http://www.jspwiki.org/wiki/ActiveDirectoryIntegration to integrate against an LDAP server (Oracle Internet Directory). The security is working (i.e. required authentication on resources specified in the web-resource-collocation section of the web.xml file). However, there are problem in the registration and profile page. > Here are the problems: > *Cannot register a new user when I am not logged in (i.e. after I click on the "Join wikiname Now!" link on the login page) > *Cannot create a profile after I successfully login using my LDAP username and password. > Both scenarios display the same error message: > * "You cannot set your login name because you are not logged in yet. You should log in first, using the credentials supplied by your administrator." > I have tried to remove the "/Login.jsp" in the web-resource-collection section of the web.xml file. I am able to register a new user. However, I am not able to login with my LDAP username and password. > I think the correct functionality should be following: > 1. Allow the LDAP users to create of their profile in JSPWiki. This ways the users can set their wiki name attribute to be used in the JSPWiki ACL setting. > 2. Allow the non-LDAP users to register to create a new JSPWiki account. Then, these users can login with the new account. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.