public EntryFilteringCursor list( NextInterceptor nextInterceptor, ListOperationContext opContext ) throws Exception
{
if ( opContext.getDn().getNormName().equals( subschemSubentryDn.getNormName() ) )
{
// there is nothing under the schema subentry
return new BaseEntryFilteringCursor( new EmptyCursor<ServerEntry>(), opContext );
}
// check if entry to search exists
String msg = "Attempt to search under non-existant entry: ";
assertHasEntry( nextInterceptor, opContext, msg, opContext.getDn() );