remove unused SecurityConfig
This commit is contained in:
parent
3107ee92a1
commit
e0a063a932
@ -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();
|
|
||||||
// }
|
|
||||||
//}
|
|
Loading…
x
Reference in New Issue
Block a user