auth flow editing
This commit is contained in:
1 parent
de3a776b9a
commit
de940ccff9
19 files changed
+483
-101
No files matched your search
Vendored
-1
@@ -1075,7 +1075,6 @@ public class RealmAdapter implements RealmModel {
|
||||
@Override
|
||||
public List<AuthenticationExecutionModel> getAuthenticationExecutions(String flowId) {
|
||||
if (updated != null) return updated.getAuthenticationExecutions(flowId);
|
||||
List<AuthenticationExecutionModel> models = new ArrayList<>();
|
||||
return cached.getAuthenticationExecutions().get(flowId);
|
||||
}
|
||||
|
||||
|
||||
+1
@@ -197,6 +197,7 @@ public class CachedRealm implements Serializable {
|
||||
defaultLocale = model.getDefaultLocale();
|
||||
for (AuthenticationFlowModel flow : model.getAuthenticationFlows()) {
|
||||
authenticationFlows.put(flow.getId(), flow);
|
||||
authenticationExecutions.put(flow.getId(), new LinkedList<AuthenticationExecutionModel>());
|
||||
for (AuthenticationExecutionModel execution : model.getAuthenticationExecutions(flow.getId())) {
|
||||
authenticationExecutions.add(flow.getId(), execution);
|
||||
executionsById.put(execution.getId(), execution);
|
||||
|
||||
Reference in new issue
Block a user