How to add LDAP cache in Spring LDAP?

后端 未结 2 1784
臣服心动
臣服心动 2021-01-12 10:29

I want to cache LDAP user data locally to allow faster queries. Do the Spring LDAP offers such a functionality? How can I do this?

I am using Spring Security 3.1 and

2条回答
  •  误落风尘
    2021-01-12 11:03

    If you configure EhCacheBasedUserCache and use ldap-user-service then you can use cache as:

        
       
        
       
    
    

提交回复
热议问题