remove unused SecurityConfig

This commit is contained in:
DOHA 2019-01-02 22:25:14 +02:00
parent 3107ee92a1
commit e0a063a932
1 changed files with 0 additions and 32 deletions

View File

@ -1,32 +0,0 @@
//package com.baeldung.boot;
//
//import org.springframework.context.annotation.Configuration;
//import org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder;
//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;
//
//
//@Configuration
//@EnableWebSecurity
//public class SecurityConfig extends WebSecurityConfigurerAdapter {
//
// @Override
// protected void configure(AuthenticationManagerBuilder auth) throws Exception {
// auth.inMemoryAuthentication()
// .withUser("john")
// .password("{noop}123")
// .roles("USER");
// }
//
// @Override
// protected void configure(HttpSecurity http) throws Exception {
// http.authorizeRequests()
// .antMatchers("/hello")
// .permitAll()
// .anyRequest()
// .authenticated()
// .and()
// .httpBasic();
// }
//}