CORS Filter with improved performance

The new 2.5 release of the CORS Filter for handling cross-domain requests offers improved performance. This benefits Java web servers that handle lots of traffic, particularly situations when a significant proportion of that is invalid or unauthorised CORS requests. The improvement is achieved by using static (cached) exceptions within the filter. Here is an an […]

CORS Filter with automatic reconfiguration

Version 2.4 of the Java CORS Filter for handling cross-domain requests has added support for automatic reconfiguration. You can change your CORS policy at runtime without having to reload your web service or application. Kudos to Alexey Zvolinsky for contributing this cool new feature. Automatic reconfiguration is provided by a special variant of the CORS […]

CORS Filter 1.7 with more configuration options

The Java servet filter for enabling CORS (cross-domain) web applications received a major upgrade today. Up until now in order to change the out-of-the-box CORS configuration you had to add filter init-params in the web.xml descriptor of your application. A number of developers asked for alternative configuration means, such as specifying a properties file for […]

Easy LDAP user authentication over the web

AuthService is a simple web service software offered by Nimbus Directory Services. It can authenticate users against any LDAP directory using a web-friendly HTTP+JSON protocol. Where to use? AuthService can be used in any situation where you have to authenticate user credentials (login) over the web against an LDAP-compatible directory such as Microsoft Active Directory, […]

LDAP directory in the cloud

Json2Ldap hit the cloud this month. I’ve always wanted to put up an online demo for the JSON web service for LDAP directory access and this is reality now. If you visit the NimbusDS website you’ll see a new Json2Ldap demo page where you can play with three Ajax directory applications: Online employee directory: Presents […]

Detecting CORS support in a browser

I’m using the following JavaScript function to detect whether a browser has support for Cross-Origin Resource Sharing (CORS) XHR. function browserSupportsCors() { if (“withCredentials” in new XMLHttpRequest()) return true; else if (window.XDomainRequest) return true; else return false; } The XDomainRequest object is specific to IE 8 and IE9, other browsers, including IE 10, extend the […]