directory-api mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Fisher <dfis...@vt.edu>
Subject Re: Paged Results Control
Date Thu, 30 Jun 2011 17:53:55 GMT
On Thu, Jun 30, 2011 at 9:56 AM, Kiran Ayyagari <kayyagari@apache.org>wrote:

> no, this control is supported but you jut need to set the system
> property 'default.controls' to load the controls
> e.x System.setProperty(
> StandaloneLdapApiService.DEFAULT_CONTROLS_LIST,
>
> "org.apache.directory.shared.ldap.codec.controls.search.pagedSearch.PagedResultsFactory"
> );
>
> Take a look at the code present in FrameworkRunner (starting from line 92)
>
> P.S:- we know this is kind of weird to set settings to load but we
> were trying to strike a balance between OSGi and standalone usage of
>        the server and its API, so this mandatory step for now
>
>
Thanks. That did the trick.

--Daniel Fisher

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message