Loading...

Home > Spring Security > Spring Default-target-url Not Working

Spring Default-target-url Not Working

Contents

It really helped me a lot.. Not the answer you're looking for? This implementation is going to determine the URL to redirect the user to after login based on the role of the user: public class MySimpleUrlAuthenticationSuccessHandler implements AuthenticationSuccessHandler { protected Log logger java spring-security share|improve this question edited Nov 13 '15 at 7:33 asked Nov 13 '15 at 6:05 winhell 2716 Are you using any MVC framework here like Spring MVC? http://philgiebler.com/spring-security/spring-security-default-target-url-not-working.html

If you want to use a different destination, you can map the target URL to a controller and redirect from there depending on the user type. Thanks! What I'm trying to accomplish is when the user clicks the login-link he ...9.Retain Original Target URL with always-use-default-target="true"forum.springsource.orgRetain Original Target URL with always-use-default-target="true" Hello, I have a situation in which Can leaked nude pictures damage one's academic career?

Default-target-url In Spring Security

Do the guest schools spend an entire academic year in the host school during the Triwizard Tournament? But with the following code is not working: Code: ...

© Copyright 2017 philgiebler.com. All rights reserved.