KEYCLOAK-2580 Failed to create execution flow

This commit is contained in:
Stian Thorgersen committed 2016-03-03 09:18:48 +01:00
1 parent 402feb9710
commit 2d42ad9993
2 files changed
+20 -1

No files matched your search

@@ -581,7 +581,7 @@ public class AuthenticationManagementResource {
}
public List<AuthenticationExecutionModel> getSortedExecutions(AuthenticationFlowModel parentFlow) {
List<AuthenticationExecutionModel> executions = realm.getAuthenticationExecutions(parentFlow.getId());
List<AuthenticationExecutionModel> executions = new LinkedList<>(realm.getAuthenticationExecutions(parentFlow.getId()));
Collections.sort(executions, AuthenticationExecutionModel.ExecutionComparator.SINGLETON);
return executions;
}