controls.setSearchScope( SearchControls.SUBTREE_SCOPE );
controls.setReturningAttributes( new String[]
{ SchemaConstants.ADMINISTRATIVE_ROLE_AT, SchemaConstants.ENTRY_UUID_AT } );
// Search for all the adminstrativePoints in the base
ExprNode filter = new PresenceNode( ADMINISTRATIVE_ROLE_AT );
CoreSession adminSession = directoryService.getAdminSession();
SearchOperationContext searchOperationContext = new SearchOperationContext( adminSession, Dn.ROOT_DSE, filter,
controls );