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

-- 
Ricardo Rodríguez
Your XEN ICT Team

_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to