Re: Ponder - How does the login page redirect to the next page?

Ramsey Gurley <[email protected]>
Newsgroups gmane.comp.web.webobjects.wonder-disc
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.