Commit 230c2876 authored by michael.simon's avatar michael.simon
Browse files

Also sort IDP list on several other occasions

parent 5a41cc7d
......@@ -85,6 +85,7 @@ public class FederationSingletonBean {
ScriptEngine engine = (new ScriptEngineManager()).getEngineByName(scriptEntity.getScriptEngine());
List<SamlIdpMetadataEntity> tempList = new ArrayList<SamlIdpMetadataEntity>(idpMap.values());
Collections.sort(tempList, idpOrgComparator);
if (engine == null) {
logger.warn("No engine set for script {}. Returning all IDPs", scriptEntity.getName());
Markdown is supported
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