I'm wondering if there are some examples of cache usage with LDAPIdentityStoreImpl for PicketLink IDM.
The only thing found in PicketLink documentation regarding cache is the usage of Ehcache for Hibernate stores, so maybe there are some example of configuration xml for using cache system with LDAP stores.
The cache class implementation in PicketLink Cache is JBossCacheIdentityStoreCacheProviderImpl (which works with Jboss cache), so if there are examples for configuring Jboss cache related specific to PicketLink LDAP store I'd be happy to check them out.
For LDAPIdentityStoreImpl there is only one implementation based on JBoss Cache. Implementing something different should be fairly easy as there is only one interface and you just point to the implementing class in the configuration. Regarding configuration standard JBoss Cache config file is in use so nothing really specific here.