| | |
| | | import org.forgerock.opendj.config.server.ConfigException; |
| | | import org.forgerock.opendj.ldap.ConditionResult; |
| | | import org.forgerock.opendj.ldap.ResultCode; |
| | | import org.forgerock.opendj.ldap.SearchScope; |
| | | import org.opends.server.admin.std.server.BackendCfg; |
| | | import org.opends.server.api.Backend; |
| | | import org.opends.server.controls.PagedResultsControl; |
| | |
| | | new PagedResultsControl(pageRequest.isCritical(), 0, null); |
| | | searchOperation.getResponseControls().add(control); |
| | | } |
| | | |
| | | if (SearchScope.BASE_OBJECT.equals(searchOperation.getScope()) |
| | | && baseDNSet.contains(searchOperation.getBaseDN())) |
| | | { |
| | | searchOperation.setResultCode(ResultCode.NO_SUCH_OBJECT); |
| | | } |
| | | } |
| | | |
| | | @Override |