You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by JSH Hater <js...@gmail.com> on 2005/11/28 09:32:59 UTC

Problems authenticating against LDAP server

Hi,

First of all, this is my first message for this list ... I'm a developer
living in Barcelona and I need to configure jetspeed-2 to authenticate users
against
an LDAP Server (IBM Secure way). I've read documentatiot I found at (
http://portals.apache.org/jetspeed-2/multiproject/jetspeed-security/ldap.html).
I've created
two files security-spi-ldap.xml (
http://svn.apache.org/viewcvs.cgi/portals/jetspeed-2/trunk/components/security/etc/security-spi-ldap.xml?view=markup)
and security-spi-ldap-atn.xml
(
http://svn.apache.org/viewcvs.cgi/portals/jetspeed-2/trunk/components/security/etc/security-spi-ldap-atn.xml?view=markup
).

When I start the portal I get an exception like this:

INFO: ATENCIËN: El nombre de papel de seguridad admin es usado en un
<auth-constraint> sin haber sido definido en <security-role>
org.springframework.beans.factory.BeanDefinitionStoreException: Error
registering bean with name '
org.apache.jetspeed.security.spi.impl.ldap.LdapBindingConfig'
defined in URL [file:/D:/Programas/jakarta-tomcat-5.0.30
/webapps/jetspeed/WEB-INF/assembly/security-spi-ldap.xml]: Bean class [
org.apache.jetspeed.security.spi.
impl.ldap.LdapBindingConfig] not found; nested exception is
java.lang.ClassNotFoundException:
org.apache.jetspeed.security.spi.impl.ldap.LdapBindingConfig
java.lang.ClassNotFoundException:
org.apache.jetspeed.security.spi.impl.ldap.LdapBindingConfig
        at org.apache.catalina.loader.WebappClassLoader.loadClass(
WebappClassLoader.java:1340)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(
WebappClassLoader.java:1189)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:219)
        at
org.springframework.beans.factory.support.BeanDefinitionReaderUtils.createBeanDefinition
(BeanDefinitionReaderUtils.java:60)
        at
org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.parseBeanDefinition
(DefaultXmlBeanDefinitionParser.java:306)

This seems like I don't have class named LdapBindingConfig in package
org.apache.jetspeed.security.spi.impl.ldap. Where I can find this class?
Where I can find more documentation about this?

Thanks a lot and sorry about my poor english ... Regards from Barcelona ...


Edu

Re: Problems authenticating against LDAP server

Posted by JSH Hater <js...@gmail.com>.
David,

Thank you for your response. Now I'm trying to build JS2 from the source ...
I get the sources from SVN, I get Maven and I'am trying to build it with
instructions I've found on "getting started" documentation but it seems that
this docs are not updated. I found the file LDAPBindingConfig.java in
sources (this is the file I need). I will try to compile this class and put
in my actual Jetspeed-2 installation. I hope this works!

Thanks a lot

Edu


On 11/28/05, David Le Strat <dl...@yahoo.com> wrote:
>
> Edu,
>
> Which version of J2 are you using?  You need to use
> the latest from SVN.
>
> Regards,
>
> David Le Strat
>
> --- JSH Hater <js...@gmail.com> wrote:
>
> > Hi,
> >
> > First of all, this is my first message for this list
> > ... I'm a developer
> > living in Barcelona and I need to configure
> > jetspeed-2 to authenticate users
> > against
> > an LDAP Server (IBM Secure way). I've read
> > documentatiot I found at (
> >
>
> http://portals.apache.org/jetspeed-2/multiproject/jetspeed-security/ldap.html)
> .
> > I've created
> > two files security-spi-ldap.xml (
> >
>
> http://svn.apache.org/viewcvs.cgi/portals/jetspeed-2/trunk/components/security/etc/security-spi-ldap.xml?view=markup)
> > and security-spi-ldap-atn.xml
> > (
> >
>
> http://svn.apache.org/viewcvs.cgi/portals/jetspeed-2/trunk/components/security/etc/security-spi-ldap-atn.xml?view=markup
> > ).
> >
> > When I start the portal I get an exception like
> > this:
> >
> > INFO: ATENCI�N: El nombre de papel de seguridad
> > admin es usado en un
> > <auth-constraint> sin haber sido definido en
> > <security-role>
> >
> org.springframework.beans.factory.BeanDefinitionStoreException:
> > Error
> > registering bean with name '
> >
> org.apache.jetspeed.security.spi.impl.ldap.LdapBindingConfig'
> > defined in URL
> > [file:/D:/Programas/jakarta-tomcat-5.0.30
> >
> /webapps/jetspeed/WEB-INF/assembly/security-spi-ldap.xml]:
> > Bean class [
> > org.apache.jetspeed.security.spi.
> > impl.ldap.LdapBindingConfig] not found; nested
> > exception is
> > java.lang.ClassNotFoundException:
> >
> org.apache.jetspeed.security.spi.impl.ldap.LdapBindingConfig
> > java.lang.ClassNotFoundException:
> >
> org.apache.jetspeed.security.spi.impl.ldap.LdapBindingConfig
> >         at
> >
> org.apache.catalina.loader.WebappClassLoader.loadClass(
> > WebappClassLoader.java:1340)
> >         at
> >
> org.apache.catalina.loader.WebappClassLoader.loadClass(
> > WebappClassLoader.java:1189)
> >         at
> >
> java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
> >         at java.lang.Class.forName0(Native Method)
> >         at java.lang.Class.forName(Class.java:219)
> >         at
> >
>
> org.springframework.beans.factory.support.BeanDefinitionReaderUtils.createBeanDefinition
> > (BeanDefinitionReaderUtils.java:60)
> >         at
> >
>
> org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.parseBeanDefinition
> > (DefaultXmlBeanDefinitionParser.java:306)
> >
> > This seems like I don't have class named
> > LdapBindingConfig in package
> > org.apache.jetspeed.security.spi.impl.ldap. Where I
> > can find this class?
> > Where I can find more documentation about this?
> >
> > Thanks a lot and sorry about my poor english ...
> > Regards from Barcelona ...
> >
> >
> > Edu
> >
>
>
> ________________________
> David Le Strat
> Blogging @ http://dlsthoughts.blogspot.com
>
>
>
> __________________________________
> Yahoo! Music Unlimited
> Access over 1 million songs. Try it free.
> http://music.yahoo.com/unlimited/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
>
>

Re: Problems authenticating against LDAP server

Posted by David Le Strat <dl...@yahoo.com>.
Edu,

Which version of J2 are you using?  You need to use
the latest from SVN.

Regards,

David Le Strat

--- JSH Hater <js...@gmail.com> wrote:

> Hi,
> 
> First of all, this is my first message for this list
> ... I'm a developer
> living in Barcelona and I need to configure
> jetspeed-2 to authenticate users
> against
> an LDAP Server (IBM Secure way). I've read
> documentatiot I found at (
>
http://portals.apache.org/jetspeed-2/multiproject/jetspeed-security/ldap.html).
> I've created
> two files security-spi-ldap.xml (
>
http://svn.apache.org/viewcvs.cgi/portals/jetspeed-2/trunk/components/security/etc/security-spi-ldap.xml?view=markup)
> and security-spi-ldap-atn.xml
> (
>
http://svn.apache.org/viewcvs.cgi/portals/jetspeed-2/trunk/components/security/etc/security-spi-ldap-atn.xml?view=markup
> ).
> 
> When I start the portal I get an exception like
> this:
> 
> INFO: ATENCI�N: El nombre de papel de seguridad
> admin es usado en un
> <auth-constraint> sin haber sido definido en
> <security-role>
>
org.springframework.beans.factory.BeanDefinitionStoreException:
> Error
> registering bean with name '
>
org.apache.jetspeed.security.spi.impl.ldap.LdapBindingConfig'
> defined in URL
> [file:/D:/Programas/jakarta-tomcat-5.0.30
>
/webapps/jetspeed/WEB-INF/assembly/security-spi-ldap.xml]:
> Bean class [
> org.apache.jetspeed.security.spi.
> impl.ldap.LdapBindingConfig] not found; nested
> exception is
> java.lang.ClassNotFoundException:
>
org.apache.jetspeed.security.spi.impl.ldap.LdapBindingConfig
> java.lang.ClassNotFoundException:
>
org.apache.jetspeed.security.spi.impl.ldap.LdapBindingConfig
>         at
>
org.apache.catalina.loader.WebappClassLoader.loadClass(
> WebappClassLoader.java:1340)
>         at
>
org.apache.catalina.loader.WebappClassLoader.loadClass(
> WebappClassLoader.java:1189)
>         at
>
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Class.java:219)
>         at
>
org.springframework.beans.factory.support.BeanDefinitionReaderUtils.createBeanDefinition
> (BeanDefinitionReaderUtils.java:60)
>         at
>
org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.parseBeanDefinition
> (DefaultXmlBeanDefinitionParser.java:306)
> 
> This seems like I don't have class named
> LdapBindingConfig in package
> org.apache.jetspeed.security.spi.impl.ldap. Where I
> can find this class?
> Where I can find more documentation about this?
> 
> Thanks a lot and sorry about my poor english ...
> Regards from Barcelona ...
> 
> 
> Edu
> 


________________________
David Le Strat
Blogging @ http://dlsthoughts.blogspot.com


		
__________________________________ 
Yahoo! Music Unlimited 
Access over 1 million songs. Try it free. 
http://music.yahoo.com/unlimited/

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org