84 boolean sssdAvailable =
false;
86 if (LibraryLoader.load().succeed()) {
87 DBusConnection connection = DBusConnection.getConnection(DBusConnection.SYSTEM);
88 InfoPipe infoPipe = connection.getRemoteObject(InfoPipe.BUSNAME, InfoPipe.OBJECTPATH, InfoPipe.class);
90 if (infoPipe.ping(
"PING") == null || infoPipe.ping(
"PING").isEmpty()) {
91 logger.debugv(
"SSSD is not available in your system. Federation provider will be disabled.");
96 logger.debugv(
"The RPM libunix-dbus-java is not installed. SSSD Federation provider will be disabled.");
98 }
catch (Exception e) {
99 logger.debugv(
"SSSD is not available in your system. Federation provider will be disabled.", e);
101 return sssdAvailable;
static final Logger logger
Definition: Sssd.java:46