Announcement Announcement Module
No announcement yet.
Force SigninController to redirect to certain view Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Force SigninController to redirect to certain view


    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...:

    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...