We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c1e59d commit 00bff39Copy full SHA for 00bff39
src/main/java/guru/springframework/config/SpringSecConfig.java
@@ -0,0 +1,17 @@
1
+package guru.springframework.config;
2
+
3
+import org.springframework.context.annotation.Configuration;
4
+import org.springframework.security.config.annotation.web.builders.HttpSecurity;
5
+import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter;
6
7
+/**
8
+ * Created by jt on 12/28/15.
9
+ */
10
+@Configuration
11
+public class SpringSecConfig extends WebSecurityConfigurerAdapter {
12
13
+ @Override
14
+ protected void configure(HttpSecurity http) throws Exception {
15
+ http.authorizeRequests().antMatchers("/").permitAll();
16
+ }
17
+}
0 commit comments