You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Next, create a class that extends the WebSecurityConfigureAdapter. Add the annotation @EnableWebSecurity to the class to tell spring that this class is a spring security configuration.
76
+
77
+
Override the two overloaded methods configure(HttpSecurity) and configure(AuthenticationManagerBuilder).
78
+
79
+
The configure(HttpSecurity) defines the mapping of secured URLs or paths that will determine if the user can access specific pages.
80
+
81
+
82
+
@EnableWebSecurity
83
+
public class Security extends WebSecurityConfigurerAdapter {
0 commit comments