I want to set user login addresses based on the ROLES user in my application. for example: If the login to the form is not caused by an attempt to access a protected resource, I want to show different pages based on different roles. using destination URL I cannot do this. How can I do this using Spring Security?
source share