Is there a way to disable the redirect for Spring Security and the login page. My requirements specify the login should be part of the navigation menu.
Example:
For annotation based settings use the following:
.defaultSuccessUrl("/dashboard",true)