public class org.finos.legend.engine.authentication.H2TestDatabaseAuthenticationFlowProvider extends org.finos.legend.engine.authentication.provider.AbstractDatabaseAuthenticationFlowProvider
{
public void <init>()
{
org.finos.legend.engine.authentication.H2TestDatabaseAuthenticationFlowProvider v;
v := @this: org.finos.legend.engine.authentication.H2TestDatabaseAuthenticationFlowProvider;
specialinvoke v.<org.finos.legend.engine.authentication.provider.AbstractDatabaseAuthenticationFlowProvider: void <init>()>();
return;
}
private org.eclipse.collections.api.list.ImmutableList flows()
{
org.finos.legend.engine.authentication.flows.H2StaticWithTestUserPasswordFlow v;
org.eclipse.collections.api.list.ImmutableList v;
org.finos.legend.engine.authentication.H2TestDatabaseAuthenticationFlowProvider v;
org.eclipse.collections.api.factory.list.ImmutableListFactory v;
v := @this: org.finos.legend.engine.authentication.H2TestDatabaseAuthenticationFlowProvider;
v = <org.eclipse.collections.impl.factory.Lists: org.eclipse.collections.api.factory.list.ImmutableListFactory immutable>;
v = new org.finos.legend.engine.authentication.flows.H2StaticWithTestUserPasswordFlow;
specialinvoke v.<org.finos.legend.engine.authentication.flows.H2StaticWithTestUserPasswordFlow: void <init>()>();
v = interfaceinvoke v.<org.eclipse.collections.api.factory.list.ImmutableListFactory: org.eclipse.collections.api.list.ImmutableList of(java.lang.Object)>(v);
return v;
}
public void configure(org.finos.legend.engine.authentication.provider.DatabaseAuthenticationFlowProviderConfiguration)
{
org.finos.legend.engine.authentication.provider.DatabaseAuthenticationFlowProviderConfiguration v;
java.lang.RuntimeException v;
org.eclipse.collections.api.block.procedure.Procedure v;
org.eclipse.collections.api.list.ImmutableList v;
org.finos.legend.engine.authentication.H2TestDatabaseAuthenticationFlowProvider v;
java.lang.Class v;
java.lang.String v, v;
boolean v;
v := @this: org.finos.legend.engine.authentication.H2TestDatabaseAuthenticationFlowProvider;
v := @parameter: org.finos.legend.engine.authentication.provider.DatabaseAuthenticationFlowProviderConfiguration;
if v == null goto label;
v = v instanceof org.finos.legend.engine.authentication.H2TestDatabaseAuthenticationFlowProviderConfiguration;
if v != 0 goto label;
v = class "Lorg/finos/legend/engine/authentication/H2TestDatabaseAuthenticationFlowProviderConfiguration;";
v = virtualinvoke v.<java.lang.Class: java.lang.String getSimpleName()>();
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (java.lang.String)>(v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("Mismatch in flow provider configuration. It should be an instance of \u0001");
v = new java.lang.RuntimeException;
specialinvoke v.<java.lang.RuntimeException: void <init>(java.lang.String)>(v);
throw v;
label:
v = specialinvoke v.<org.finos.legend.engine.authentication.H2TestDatabaseAuthenticationFlowProvider: org.eclipse.collections.api.list.ImmutableList flows()>();
v = staticinvoke <org.finos.legend.engine.authentication.H2TestDatabaseAuthenticationFlowProvider$registerFlow__16: org.eclipse.collections.api.block.procedure.Procedure bootstrap$(org.finos.legend.engine.authentication.H2TestDatabaseAuthenticationFlowProvider)>(v);
interfaceinvoke v.<org.eclipse.collections.api.list.ImmutableList: void forEach(org.eclipse.collections.api.block.procedure.Procedure)>(v);
return;
}
}