Apr 12th, 2012, 03:27 AM
LDAP in stateless webservices
We have a couple of webapps that we secure with spring security and ldap, this is fine for applications with sessions, but for our webservices ldap gets hit on every request. This is causing throughput issues for us. The docs hint at being able to use cached user details beans, but don't explain how this can be mixed with ldap authentication.
A few google searches revealed and alternative approach on this thread, but it's from 2010, so there may be better advice these days.
Does anyone have any examples of configuring caching of ldap credentials for stateless webservices, or any comments on that threads suggestion?