incubator-jspwiki-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Leung (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JSPWIKI-184) Cannot register new user and save profile when integrate with LDAP authentication
Date Thu, 28 Feb 2008 19:53:51 GMT

    [ https://issues.apache.org/jira/browse/JSPWIKI-184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12573422#action_12573422
] 

Benjamin Leung commented on JSPWIKI-184:
----------------------------------------

I've experienced similar problem.  But I was using the Tomcat's servlet container's authorization
service.

I was able to get around the 2nd issue.  

After loggin in, enter something in the 'Name' and 'Email' field in the profile page where
it displays the error message "You cannot set your login name...".  After you click save,
you should see your profile created and a better error message "You cannot set your login
name because your credentials are managed by the web container, not the wiki."

> 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.


Mime
View raw message