Skip to content
This repository has been archived by the owner on May 14, 2022. It is now read-only.

Commit

Permalink
#2
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton Leliuk committed Feb 5, 2017
1 parent 8b6ec0a commit 824d545
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion examples/src/main/java/com/skype/config/SecurityConfig.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.skype.config;

import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;
import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter;

Expand All @@ -8,4 +9,9 @@
*/
@EnableWebSecurity
public class SecurityConfig extends WebSecurityConfigurerAdapter {
}

@Override
protected void configure(HttpSecurity http) throws Exception {
http.csrf().disable();
}
}

0 comments on commit 824d545

Please sign in to comment.