Skip to content

Commit

Permalink
NOJIRA: Pac4J libs update
Browse files Browse the repository at this point in the history
Updates for Pac4J updates to current release
  • Loading branch information
chasegawa committed Jan 30, 2024
1 parent 6fe5771 commit e9cd237
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
logoutFilter.setCentralLogout(Boolean.TRUE);
logoutFilter.setDefaultUrl(pac4jConfigurationProperties.getPostLogoutURL());
logoutFilter.setDestroySession(true);
http.securityMatcher("/logout").addFilterBefore((Filter) logoutFilter, BasicAuthenticationFilter.class);
http.securityMatcher("/login").addFilterBefore((Filter) logoutFilter, BasicAuthenticationFilter.class);
}

// add correct auth filter
Expand Down

0 comments on commit e9cd237

Please sign in to comment.