diff --git a/pom.xml b/pom.xml index 477f0f2..93408fd 100644 --- a/pom.xml +++ b/pom.xml @@ -2,7 +2,7 @@ 4.0.0 tiny-mfa-plugin - 1.6 + 1.7 tiny-mfa-plugin diff --git a/src/main/import/install/mfa-iiq-objects-import.xml b/src/main/import/install/mfa-iiq-objects-import.xml index 4f4d623..7ffa02a 100644 --- a/src/main/import/install/mfa-iiq-objects-import.xml +++ b/src/main/import/install/mfa-iiq-objects-import.xml @@ -120,10 +120,10 @@ Map response = new HashMap(); response.put("result", false); //derive proper classloader via plugins cache -ClassLoader clsLoader = sailpoint.server.Environment.getEnvironment().getPluginsCache().getClassLoader("tiny-mfa-plugin"); +ClassLoader clsLoader = sailpoint.server.Environment.getEnvironment().getPluginsCache().getClassLoader("tiny_mfa_plugin"); if(clsLoader != null) { try { - ClassLoader clsLoader = sailpoint.server.Environment.getEnvironment().getPluginsCache().getClassLoader("tiny-mfa-plugin"); + ClassLoader clsLoader = sailpoint.server.Environment.getEnvironment().getPluginsCache().getClassLoader("tiny_mfa_plugin"); System.out.println("setting parameters"); //method has two parameters of type String diff --git a/src/main/java/de/whisperedshouts/identityiq/rest/TinyMfaService.java b/src/main/java/de/whisperedshouts/identityiq/rest/TinyMfaService.java index 95afbf1..670f89e 100644 --- a/src/main/java/de/whisperedshouts/identityiq/rest/TinyMfaService.java +++ b/src/main/java/de/whisperedshouts/identityiq/rest/TinyMfaService.java @@ -73,7 +73,7 @@ public class TinyMfaService extends BasePluginResource { @Override public String getPluginName() { - return "tiny-mfa-plugin"; + return "tiny_mfa_plugin"; } /** diff --git a/src/main/manifest.xml b/src/main/manifest.xml index 7a95d53..1906962 100644 --- a/src/main/manifest.xml +++ b/src/main/manifest.xml @@ -1,6 +1,6 @@ - + diff --git a/src/main/ui/js/app.js b/src/main/ui/js/app.js index 2fe8fcb..89c4a6f 100644 --- a/src/main/ui/js/app.js +++ b/src/main/ui/js/app.js @@ -6,22 +6,22 @@ $routeProvider .when('/', { - templateUrl : PluginHelper.getPluginFileUrl('tiny-mfa-plugin', 'ui/partials/home.html'), + templateUrl : PluginHelper.getPluginFileUrl('tiny_mfa_plugin', 'ui/partials/home.html'), controller : 'HomeController' }) .when('/home', { - templateUrl : PluginHelper.getPluginFileUrl('tiny-mfa-plugin', 'ui/partials/home.html'), + templateUrl : PluginHelper.getPluginFileUrl('tiny_mfa_plugin', 'ui/partials/home.html'), controller : 'HomeController' }) .when('/qrcode', { - templateUrl : PluginHelper.getPluginFileUrl('tiny-mfa-plugin', 'ui/partials/qrcode.html'), + templateUrl : PluginHelper.getPluginFileUrl('tiny_mfa_plugin', 'ui/partials/qrcode.html'), controller : 'QRCodeController' }) .when('/validate', { - templateUrl : PluginHelper.getPluginFileUrl('tiny-mfa-plugin', 'ui/partials/validate.html'), + templateUrl : PluginHelper.getPluginFileUrl('tiny_mfa_plugin', 'ui/partials/validate.html'), controller : 'ValidateController' }) diff --git a/src/main/ui/js/buttonInject.js b/src/main/ui/js/buttonInject.js index f8e9646..a735670 100644 --- a/src/main/ui/js/buttonInject.js +++ b/src/main/ui/js/buttonInject.js @@ -1,5 +1,5 @@ jQuery(document).ready(function(){ - var tinyMfaPluginUrl = SailPoint.CONTEXT_PATH + '/plugins/pluginPage.jsf?pn=tiny-mfa-plugin'; + var tinyMfaPluginUrl = SailPoint.CONTEXT_PATH + '/plugins/pluginPage.jsf?pn=tiny_mfa_plugin'; jQuery("ul.navbar-right li:first") .before( '