-
May 8th, 2012, 10:53 PM
#1
Force SigninController to redirect to certain view
Hi,
we are heavily using Spring MVC, all requests are handled by our controllers returning certain models, redirect pages etc. - the only exception is the spring social based signin/signup stuff: we have the default SigninController in place but unfortunately this one behaves "blackbox-like" in terms of doing something enabling us to login/signup but not givin us the chance to redirect to certain page, display custom error messages etc...:
@Controller
public class SigninController {
@RequestMapping(value="/signin", method=RequestMethod.GET)
public void signin() {
}
}
So my question: is there an easy way of overwriting/editing the SIgninController in order to return a Spring rediriect view or model? If yes, how can this be done? Are there any examples around?
Thanx in advance, we enjoy using Spring Social!
Cheers, FLorian...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules