Search
 
SCRIPT & CODE EXAMPLE
 

JAVA

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       
	    }
	}
Comment

PREVIOUS NEXT
Code Example
Java :: draw circle with fill java 
Java :: spring xml configuration 
Java :: Java get color from rgb values 
Java :: regex s+ 
Java :: reader 
Java :: remove last node from linked list java 
Java :: java object into list 
Java :: how to convert iso-8859-1 to utf-8 in java 
Java :: flutter unable to find bundled java version 
Java :: android handler clear message queue 
Java :: java treemap 
Java :: java opp 
Java :: crit chance in java 
Java :: max int array java 
Java :: hdfs java read all files in directory 
Java :: encoding utf 
Java :: locked screen android studio 
Java :: java convert url/image to drawable 
Java :: Sending String from one activity to another 
Java :: java create an instance of a stack 
Java :: what are variables in java 
Java :: cannot find symbol iterator in java 
Java :: split on . in java 
Java :: if not java 
Java :: show all spring boot beans 
Java :: split string to textview in android 
Java :: java long data type 
Java :: Java TreeMap Example NavigableMap 
Java :: how to disable coming back to activity android studio 
Java :: how to find mongo java driver version 
ADD CONTENT
Topic
Content
Source link
Name
7+8 =