Skip to content

Commit 96d7c1c

Browse files
AFine-gsgs-saurabh
andauthored
set pac4j session store in application context (#226)
Co-authored-by: Patel, Saurabh <[email protected]>
1 parent db0c0f4 commit 96d7c1c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

legend-shared-pac4j/src/main/java/org/finos/legend/server/pac4j/LegendPac4jBundle.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,8 @@ protected void handleMapping(FilterMapping mapping)
270270
mapping.setDispatcherTypes(EnumSet.allOf(DispatcherType.class));
271271
}
272272
});
273+
environment.getApplicationContext()
274+
.setAttribute("PAC4J_SESSION_STORE",this.getConfig().getSessionStore());
273275
swapClientFinderAndStorageDecision(environment);
274276
}
275277

0 commit comments

Comments
 (0)