Commit 73911358 authored by michael.simon's avatar michael.simon
Browse files

add targetList to simplify javascript list building

parent e893cd1d
......@@ -92,20 +92,23 @@ public class FederationSingletonBean {
try {
List<SamlIdpMetadataEntity> targetList = new ArrayList<SamlIdpMetadataEntity>();
Invocable invocable = (Invocable) engine;
invocable.invokeFunction("filterIdps", tempList, logger);
invocable.invokeFunction("filterIdps", tempList, targetList, logger);
return targetList;
} catch (ScriptException e) {
logger.warn("Script execution failed.", e);
return tempList;
} catch (NoSuchMethodException e) {"No filterIdps method in script. returning all Idps");
return tempList;
public List<SamlIdpMetadataEntity> getAllIdpList() {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment