An LDAP directory is a type of hierarchical NoSQL storage. A quick way to explain the essence of LDAP is by drawing a comparison to a computer file system which people are familiar with. Overall organisation A file system consists of files in a tree-like structure. An LDAP directory consists of entries in a tree-like […]
Author Archives: Vladimir Dzhuvinov
Secure Remote Password (SRP-6a) compatibility issues
Secure Remote Password (SRP) is a clever protocol for secure username + password based authentication where the client doesn’t reveal the actual password to the server, at any time. The password remains entirely private to the user. What the server stores and deals with during authentication are cryptographically secure one-way values that the client derived […]
Plain SASL authentication
Yesterday’s 2.0 release of Json2Ldap brings a lot of new good things. Some of them are hidden, representing various little stubs under the hood that will enable cool new features to be added in future (patience, you’ll find out in due time!). On the outside, the most noticeable addition is the arrival of plain SASL […]
JsWorld 2.4.1 with automatic currency rounding
Today saw the release of JsWorld 2.4.1, which remains the most comprehensive JavaScript library for localised formatting and parsing of numeric, monetary and date/time values in web applications. This is a minor update which introduces automatic rounding of formatted currency amounts. Up to now the default behaviour was to leave the fraction part of the […]
JSON-RPC and cookies
Today’s releases of the JSON-RPC 2.0 Client (version 1.6) and JSON-RPC 2.0 Shell (version 1.10) include support for handling HTTP cookies, just like browsers do. These latest updates came about after a developer in Norway wrote that the JSON-RPC software was not working as expected against the web API of a particular service provider. A […]
JSON-RPC for Android apps
Thanks to user feedback I recently discovered that the JSON-RPC 2.0 Base and related libraries and JSON-RPC shell are finding increasing use in Android applications, mostly to hook to remote JSON-RPC services. While I’m not really into mobile gadgets and don’t own a smart phone, I do sense there is usefulness in mobile apps to […]
CORS requests and cookies
Today I received a question regarding the Java CORS Filter and browser cookies: Does your filter take care about the sessions? For each CORS request I get a different JSESSIONID. My response was that in order for the Java web application or service to get at a cookie, both the CORS Filter in front of […]
Using data URIs with Json2Ldap
Person entries in a LDAP directory may contain photos. These are typically stored in a jpegPhoto attribute, defined in the standard inetOrgPerson schema. In this article I’ll show you how to display such JPEG images in the browser using Json2Ldap and a cool new HTML feature called data URIs. Json2Ldap is a neat LDAP gateway […]
CORS and HTTP 302 redirect responses
Earlier this week a user of the CORS Filter library asked why his browser app wasn’t able to connect to his web service despite it having Cross-Origin Resource Sharing (CORS) enabled. Investigation of the problem showed that his XHR was not landing on the CORS-enabled URL directly, but was being redirected to it through an […]
For a quiet and cool workplace
I am at my most productive when I can clearly hear my thoughts. And this requires silence and a cool atmosphere. No fans humming, no power supplies buzzing, no discs clicking. Back in my home office in Bulgaria I took drastic measures to achieve that: I drilled a ø 4cm hole in the wall to […]