Skip to content

Commit

Permalink
fix: jans-linux-setup config-api plugin dependencies (#1310)
Browse files Browse the repository at this point in the history
  • Loading branch information
devrimyatar authored May 9, 2022
1 parent ea929c0 commit b5577dd
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions jans-linux-setup/jans_setup/setup_app/installers/config_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,17 +57,19 @@ def install(self):
jettyServiceWebapps = os.path.join(self.jetty_base, self.service_name, 'webapps')
self.copyFile(self.source_files[0][0], jettyServiceWebapps)

self.copyFile(self.source_files[2][0], self.libDir)
scim_plugin_path = os.path.join(self.libDir, os.path.basename(self.source_files[2][0]))
self.add_extra_class(scim_plugin_path)

self.copyFile(self.source_files[3][0], self.libDir)
user_mgt_plugin_path = os.path.join(self.libDir, os.path.basename(self.source_files[3][0]))
self.add_extra_class(user_mgt_plugin_path)

self.copyFile(self.source_files[4][0], self.libDir)
fido2_plugin_path = os.path.join(self.libDir, os.path.basename(self.source_files[4][0]))
self.add_extra_class(fido2_plugin_path)
if Config.self.install_scim_server:
self.copyFile(self.source_files[2][0], self.libDir)
scim_plugin_path = os.path.join(self.libDir, os.path.basename(self.source_files[2][0]))
self.add_extra_class(scim_plugin_path)

if Config.installFido2:
self.copyFile(self.source_files[4][0], self.libDir)
fido2_plugin_path = os.path.join(self.libDir, os.path.basename(self.source_files[4][0]))
self.add_extra_class(fido2_plugin_path)

self.enable()

Expand Down

0 comments on commit b5577dd

Please sign in to comment.