Hallo zusammen,
ich habe in meine Sprin Boot Services Basic Auth eingebaut, seid dem ist das ganze RICHTIG langsam! Aber mindestens 200% langsamer als ohne. Hat jemand ne Idee wie ich das beheben kann?
Meine Security Klasse:
ich habe in meine Sprin Boot Services Basic Auth eingebaut, seid dem ist das ganze RICHTIG langsam! Aber mindestens 200% langsamer als ohne. Hat jemand ne Idee wie ich das beheben kann?
Meine Security Klasse:
Code:
@Configuration
public class SecurityConfig extends WebSecurityConfigurerAdapter {
@Override
protected void configure(HttpSecurity http) throws Exception {
http
.csrf().disable()
.authorizeRequests().anyRequest().authenticated()
.and()
.httpBasic();
}
@Autowired
public void configureGlobal(AuthenticationManagerBuilder auth)
throws Exception {
auth.inMemoryAuthentication()
.withUser("username")
.password("{noop}password")
.roles("USER");
}
}