Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

still prompted with an HTTP authentication box after adding SecurityConfig class #104

Open
chenqping opened this issue Jun 11, 2021 · 1 comment

Comments

@chenqping
Copy link

chenqping commented Jun 11, 2021

Based on Spring-boot 2.5.0
I added the following code snippet

package tacos.security;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
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 {
}

but when I fied up the service and hit homepage, I stll got the HTTP authentication box instead of a login form
image

@chenqping
Copy link
Author

@habuma

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant