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 "<url-pattern>/Login.jsp</url-pattern>" 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.