Re: LDAP users repository feature deprecation

2016-03-14 Thread Robert Munn
OK, that’s the part I didn’t understand. So in those situations there is no alternative to returning the list of group members from the LDAP store. A hash table of userDNs would provide a quicker search than the iterator over the collection. I haven’t looked at the code in enough detail,

Use of Lambdas in Cassandra with target.jdk 1.6 [unsigned]

2016-03-14 Thread Bernd Waibel
Hello together, I am trying to compile "james-project", but I am just following Maven errors. At this point I did find something, I am not sure if I interpret this correctly. The Cassandra implementation uses Lambdas. E.g. in CassandraTableManager. The pom.xml of "james-project" does define a

Re: Use of Lambdas in Cassandra with target.jdk 1.6 [unsigned]

2016-03-14 Thread Benoit Tellier
Hi Bernd, A huge +1, I would be so happy to see JDK 1.8 used everywhere in James. It would allow us to write readable code based on streams everywhere. For your information, some modules uses a JDK 1.8 : - backends/cassandra - mailbox/cassandra - mailbox/elasticsearch -

Re: LDAP users repository feature deprecation

2016-03-14 Thread Raphaël Ouazana-Sustowski
Hi, I agree with you. This search is suboptimal. But the memberOf attribute is not really available on every LDAP directory. An other way should be find to allow to restric on a group. Regards, Raphaël Ouazana. Le 2016-03-11 21:36, Robert Munn a écrit : Hi all. I’ve been using James for