Hi,<br>I have problem with registering interface in system bus.<br>When I
register interface in this way:<br><br><code><br>conn =
DBusConnection.getConnection(<div id=":bo">DBusConnection.SESSION);
conn.requestBusName(AuthenticationService.AUTHENTICATION_SERVICE_BUS_NAME);<br>
conn.exportObject(AuthenticationService.AUTHENTICATION_SERVICE_BUS_PATH,
authenticationService);<br></code><br> all work perfectly fine,
but when I'm trying to connect to system bus:<br><code><br>
conn = DBusConnection.getConnection(DBusConnection.SYSTEM);
<br>
</code><br> I get the error:<br>org.freedesktop.dbus.exceptions.DBusException:
Connection ":1.107" is not allowed to own the service
"com.airupt.desktop.authdaemon.dbusservices.AuthenticationService"
due to security policies in the configuration file<br>
at org.freedesktop.dbus.DBusConnection.requestBusName(Unknown
Source) ~[libdbus-java-2.7.jar:na]<br><br>I tried to modify
/etc/dbus-1/system.conf file and create rule for current interface, but
without success. Problem is that i don't know <br>
what <span lang="en"><span title="Click
for alternate translations">exactly I need to change to make in work.</span></span></div>