Skip to content

Commit

Permalink
style: cleanup code
Browse files Browse the repository at this point in the history
  • Loading branch information
Quentin-Guillemin committed Nov 20, 2023
1 parent 4d1a83a commit 40b9e8f
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
package fr.recia.glc.configuration;

import com.google.common.collect.Lists;
import fr.recia.glc.configuration.bean.SecurityProperties;
import fr.recia.glc.security.AuthoritiesConstants;
import fr.recia.glc.security.CustomSessionFixationProtectionStrategy;
import fr.recia.glc.security.cas.AjaxAuthenticationFailureHandler;
Expand Down Expand Up @@ -193,9 +192,8 @@ public CustomSingleSignOutFilter singleSignOutFilter() {

@Bean
public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {

http.csrf()
.ignoringAntMatchers("/"+glcProperties.getSecurity().getAuthUriFilterPath());
.ignoringAntMatchers("/" + glcProperties.getSecurity().getAuthUriFilterPath());

http
.addFilterAfter(new CsrfCookieGeneratorFilter(), CsrfFilter.class).exceptionHandling()
Expand Down

0 comments on commit 40b9e8f

Please sign in to comment.