In the slightly out of date version of 1.5 that I have LDAPAuthentication is in package org.dspace.authenticate.
Cheers, Robin. -- The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mika Stenberg Sent: 23 April 2008 10:33 To: Nilani Ganeshwaran Cc: [email protected] Subject: Re: [Dspace-tech] LDAP in DSpace 1.5 What Im getting in dspace.log is:below. System cant seem to find the class file? -Mika --- Caused by: java.lang.ExceptionInInitializerError at org.dspace.app.webui.util.UIUtil.obtainContext(UIUtil.java:138) at org.apache.jsp.index_jsp._jspService(index_jsp.java:101) ... 20 more Caused by: org.dspace.core.PluginInstantiationException: Cannot load plugin class: java.lang.ClassNotFoundException: org.dspace.eperson.LDAPAuthentication at org.dspace.core.PluginManager.getAnonymousPlugin(PluginManager.java:236) at org.dspace.core.PluginManager.getPluginSequence(PluginManager.java:205) at org.dspace.authenticate.AuthenticationManager.<clinit>(AuthenticationManager .java:95) ... 22 more Caused by: java.lang.ClassNotFoundException: org.dspace.eperson.LDAPAuthentication at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav a:1358) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav a:1204) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:164) at org.dspace.core.PluginManager.getAnonymousPlugin(PluginManager.java:220) > Hi Mika > > You should set as below; > > plugin.sequence.org.dspace.eperson.AuthenticationMethod = org.dspace.eperson.LDAPAuthentication > > webui.ldap.autoregister =true > > ldap.enable = true > > Update the following according to your directory setup. > > ldap.id_field = uid > ldap.object_context = ou=???,o=???,c=??? > ldap.search_context = ou=people > ldap.email_field = mail > ldap.givenname_field = givenname > ldap.provider_url =ldap://edir.YOURHOST:389 > > Regards > Nilani > > Nilani Ganeshwaran > Institutional Repository Technical Support and Software Developer > > Tel: +44 (0)161 275 8728 (internal x58728) > Email: [EMAIL PROTECTED] > Web: http://www.manchester.ac.uk/institutionalrepositoryproject > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mika Stenberg > Sent: 22 April 2008 13:25 > To: '[email protected]' > Subject: [Dspace-tech] LDAP in DSpace 1.5 > > I cannot seem to enable LDAP authentication in DSPace 1.5? > > I set: > > # Stack of authentication methods > # (See org.dspace.authenticate.AuthenticationManager) > plugin.sequence.org.dspace.authenticate.AuthenticationMethod = \ > org.dspace.authenticate.PasswordAuthentication > org.dspace.eperson.LDAPAuthentication, \ > org.dspace.eperson.X509Authentication > > > And ldap.enable = true. > > and restarted tomcat. > > However, JSPUI or XMLUI wont offer LDAP login. > Whats the catch? > > > -Mika > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javao ne > _______________________________________________ > DSpace-tech mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/dspace-tech > > ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javao ne _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

