Re: Ponder - How does the login page redirect to the next page?
James Cicenia <[email protected]>
| Newsgroups | gmane.comp.web.webobjects.wonder-disc |
|---|---|
| Message-ID | <[email protected]> |
I still can't seem to find where you set the loginSuccessPage or where I should intercept. Depending on user's role, I wanted a separate login page. Where would the best place put this? Or where are you doing it yourself? Thanks On Dec 10, 2012, at 9:47 AM, Ramsey Gurley <[email protected]> wrote: > The login logic is handled in the ERTwoFactorAuthenticationProcessor.authenticate() method. > > On Dec 10, 2012, at 6:58 AM, James Cicenia wrote: > >> No, I think that is correct (stateless). >> >> So then, where do you put your logic for logging in? Do I subclass your login direct action and then instantiate a new D2W inspect page? >> >> I will have to look at your cid handling. Don't think I ever used those before. >> >> James >> >> >> >> On Dec 9, 2012, at 11:24 PM, Ramsey Gurley <[email protected]> wrote: >> >>> Since the login component is a stateless direct action component, it passes cid (context id) and lcid (last context id). The cid is the page before and the lcid is the page you originated from. >>> >>> I probably should have just made it a d2w component and used a page controller and component actions, but I'm a glutton for punishment sometimes. I had it in my head that someone might actually want to use that component outside of a D2W app and therefore would want a direct action login form to prevent instantiating a session. >>> >>> >>> On Dec 9, 2012, at 8:19 PM, James Cicenia wrote: >>> >>>> How does the login page redirect to the next page? >>>> >>>> The loginAction in ERAuthDirectAction has me a bit confused. >>>> I looked through the rules and see nothing that stands out in there about redirecting. >>>> >>>> Currently, because of whatever reason, when I try to login I get: >>>> >>>> <html><head><title>Error</title></head><body>Your request produced an error.</body></html> >>>> >>>> However, I don't see an error in the console. >>>> >>>> Thanks >>>> James >>>> ------------------------------------------------------------------------------ >>>> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial >>>> Remotely access PCs and mobile devices and provide instant support >>>> Improve your efficiency, and focus on delivering more value-add services >>>> Discover what IT Professionals Know. Rescue delivers >>>> http://p.sf.net/sfu/logmein_12329d2d_______________________________________________ >>>> Wonder-disc mailing list >>>> [email protected] >>>> https://lists.sourceforge.net/lists/listinfo/wonder-disc >>> >> > ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ Wonder-disc mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wonder-disc