<!DOCTYPE busconfig PUBLIC
 "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
 "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">

<busconfig>

  <!-- Only root can own the oddjob sample service -->
  <policy user="root">
    <allow own="com.redhat.oddjob.sample"/>
  </policy>

  <!-- Allow anyone to call the sample method of the com.redhat.oddjob.sample
       interface implemented by the /com/redhat/oddjob/sample object provided
       by the com.redhat.oddjob.sample service. -->
  <policy context="default">
    <allow send_destination="com.redhat.oddjob.sample" send_path="/com/redhat/oddjob/sample" send_interface="com.redhat.oddjob.sample" send_member="sample"/>
  </policy>

</busconfig>
