cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oliver Wulff <owu...@talend.com>
Subject RE: Mocking LDAP server for integration tests
Date Thu, 13 Jun 2013 13:33:59 GMT
Spring also supports starting an embedded LDAP server. See here:
http://stackoverflow.com/questions/544550/spring-embedded-ldap-server-in-unit-tests
http://stackoverflow.com/questions/13396708/integration-tests-with-spring-security-and-ldap?lq=1

Thanks
Oli

________________________________________
From: Andrei Shakirin [ashakirin@talend.com]
Sent: 13 June 2013 15:21
To: dev@cxf.apache.org
Cc: coheigea@apache.org
Subject: RE: Mocking LDAP server for integration tests

Thanks Colm, I will take a look in WSS4J.

> -----Original Message-----
> From: Colm O hEigeartaigh [mailto:coheigea@apache.org]
> Sent: Donnerstag, 13. Juni 2013 11:14
> To: dev@cxf.apache.org
> Subject: Re: Mocking LDAP server for integration tests
>
> WSS4J trunk has an "integration" module which uses Apache DS as a
> Kerberos
> Server:
>
> http://svn.apache.org/viewvc/webservices/wss4j/trunk/integration/
>
> Colm.
>
>
> On Thu, Jun 13, 2013 at 10:12 AM, Andrei Shakirin
> <ashakirin@talend.com>wrote:
>
> > Hi,
> >
> > I am working on integration tests for XKMS and thinking about mocking
> > (or using lightweight) LDAP server.
> > I found some topics regarding this:
> >
> > -           in UnboundID (https://www.unboundid.com/products/ldap-sdk/)
> >
> > -          Mocking using Mockito (
> > http://java.dzone.com/articles/mocking-out-ldapjndi-unit)
> >
> > Has anybody experience to do it in Apache projects, is there any "typical"
> > solution for it?
> >
> > Regards,
> > Andrei.
> >
>
>
>
> --
> Colm O hEigeartaigh
>
> Talend Community Coder
> http://coders.talend.com

Mime
View raw message