문제

I need to update a large number of objects in LDAP. When I try to fetch them, I catch org.springframework.ldap.SizeLimitExceededException. How can I avoid this exception?

I tried to look for a paging solution, unfortunately the only one I found on the web is deprecated.

도움이 되었습니까?

해결책

When an LDAP client issues a search request and the number of entries that match the filter exceeds either the client-requested size limit or the size limit imposed on a client's authorization state, or the server has imposed some other limit on the number of entries that match the filter, the server must set the result code in the response to "size limit exceeded". Perhaps the Spring framework has bubbled the response code upwards.

Simple Paged Results are available when supported by the server, as well as Virtual List View.

For more information, see "LDAP: Using ldapsearch", "LDAP: Mastering search filters", and "LDAP: Programming Practices". Also, I have shared some technical LDAP notes related to resource limits being exceeded at my website.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top