Skip to content
Snippets Groups Projects
Commit 9bdf453e authored by Daniel Gerhardt's avatar Daniel Gerhardt Committed by Daniel Gerhardt
Browse files

Disable CSRF filter

parent b3027362
No related merge requests found
......@@ -74,6 +74,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
@Override
protected void configure(HttpSecurity http) throws Exception {
http.exceptionHandling().authenticationEntryPoint(restAuthenticationEntryPoint());
http.csrf().disable();
http.addFilter(casAuthenticationFilter());
http.addFilter(casLogoutFilter());
http.addFilterAfter(googleFilter(), CasAuthenticationFilter.class);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment