[xwiki-users] LDAP on xwiki
Gaëtan GUYODO
gaetan.guyodo at lrb.aphp.fr
Fri Jan 18 09:33:26 CET 2008
Thanks for all this information.
I'll try that ASAP, and I'll post results of my tests.
Gaëtan
Your XEN ICT Team - Ricardo Rodriguez a écrit :
> Gaëtan GUYODO wrote:
>> I can test it with Active Directory, I'll do that asap.
>> Question about java : the latest change is LDAPAuthenticater.java (47
>> kb) 18/jun/2007. How can I compile to have the jar file ?
>
> Hi, Gaëtan,
>
> Here you have the javac command to compile LDAPAuthenticater while
> working with the brand new 1.2 release. You won't get a jar, but a class
> file.
>
> javac -cp
> /Library/Tomcat/webapps/xwiki/WEB-INF/lib/xwiki-core-1.2.jar:/Library/Tomcat/webapps/xwiki/WEB-INF/lib/commons-lang-2.1.jar:/Library/Tomcat/webapps/xwiki/WEB-INF/lib/commons-logging-1.1.1.jar:/Library/Tomcat/webapps/xwiki/WEB-INF/lib/ldap-UNKNOWN.jar:/Library/Tomcat/webapps/xwiki/WEB-INF/lib/ldap-UNKNOWN.jar:/Library/Tomcat/webapps/xwiki/WEB-INF/lib/ldap.jar:/Library/Tomcat/webapps/xwiki/WEB-INF/lib/securityfilter-2.0.jar:/Library/Tomcat/webapps/xwiki/WEB-INF/classes
> LDAPAuthenticater.java
>
> It is supposed you are in the
> /xwiki/WEB-INF/classes/com/xpn/xwiki/ldap/authentication folder. And
> /Library/Tomcat/webapps is the web applications folder of your servlets
> container. You must modify these path accordingly or look for any other
> way of referencing this classes.
>
> All classes but Novell ldap.jar are included with XWiki distribution.
> You must also copy the classes folder from XWiki.zip
> (http://jira.xwiki.org/jira/secure/attachment/10851/XWiki.zip) in
> xwiki/WEB-INF directory. Then, overwrite the LDAPAuthenticater java code
> with the updated release. So far, it is the one you mentioned dated on
> June the 18th, 2007
>
> ldap.jar can be obtained from
> http://developer.novell.com/wiki/index.php/Jldap
>
> I am now using this new class but have some problems while binding to my
> eDirectory server. No I have to trace the process in the server to see
> where does the problem arise.
>
> I will move this discussion to the JIRA-1079 issue. I think it is the
> right place to go on with this.
>
> I am sure the Building page contents the solution to many of my doubts
> so I have to keep trying to understand the whole building process.
>
> Cheers,
>
> Ricardo
>
--
__________________________________________
Gaëtan GUYODO
Chargé de mission
Centre Antipoison - Hôpital Fernand WIDAL
200, rue du faubourg St Denis
75475 PARIS Cedex 10
Tél: 01 40 05 49 63 / Fax: 01 40 05 48 56
__________________________________________
More information about the users
mailing list