Answers for "auto redirect to choose client detail in spring boot when login"

-1

spring security after login redirect

@Configuration
	@EnableWebSecurity
	public class SecSecurityConfig extends WebSecurityConfigurerAdapter {
	 
	    @Override
	    protected void configure(final HttpSecurity http) throws Exception {
	        http
	            .authorizeRequests()
	            // ... endpoints
	            .formLogin()
	                .loginPage("/login.html")
	                .loginProcessingUrl("/login")
	                .defaultSuccessUrl("/homepage.html", true)
	            // ... other configuration       
	    }
	}
Posted by: Guest on October-29-2020

Code answers related to "auto redirect to choose client detail in spring boot when login"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language