How to debug CORS requests with Firebug

Firebug, the indispensable Firefox add-on for serious developers, is great for debugging web apps that make use of the new CORS mechanism for cross-domain requests. The acronym CORS stands for Cross-Origin Resource Sharing and was developed by a group of web activists to address the issue of making browser cross-domain requests in a standards-compliant way. […]

Json2Ldap now supports paged LDAP search results

Yesterday I got another update of Json2Ldap out, under version 1.7. So what’s in it? The major news is the added support for the LDAP extension (RFC 2696) for paged search results. Usage of search requests that return potentially thousands of matches is not uncommon, as some recent Json2Ldap applications have demonstrated. Directory servers, however, […]

Which LDAP servers support paged results?

For a new customer project utilising the Json2Ldap gateway/proxy I consider adding support for the simple paged results LDAP control. This extension, defined in RFC 2696, allows the client to request search results to be split into “pages” of a specified size. Useful in situations when potentially large result sets are expected, typically over 100 […]

Обратно от Света гора

Върнахме се от Атон. Поработихме здраво. Нашата ударна бригада набра над 5 тона маслини през седмицата в помощ на Зографския манастир. Повечето отидоха за създаването на тази божествена течност наречена зехтин, а най-хубавите и зрели плодове за храна на монасите, работниците и поклонниците там. Направихме и тридневна обиколка по двата бряга на полуострова, където посетихме […]

ForgeRock forks OpenDS to create OpenDJ

Last week I learned that ForgeRock, a fresh company formed by people from Sun’s directory + IdM business who decided to leave after Oracle’s takeover (no surprise here, I suppose), has forked Sun’s open source Java directory OpenDS to start a new project under the name OpenDJ. Perhaps not coincidentally, Mr. Ludovic Poitou, until recently […]

Escaping special chars in LDAP search filters

When programming against the Json2Ldap web API (or for that matter, against any LDAP backend) it’s good to sanitise any user input that may go into a search filter. A typical case is authentication (login or single sing-on) applications, where an input username or email must be used to resolve a user’s distinct name (DN) […]