[undertow-dev] Form Authentication : Save/Restore Request
Anil Saldhana
Anil.Saldhana at redhat.com
Tue Dec 17 16:50:19 EST 2013
On 12/09/2013 03:21 AM, Stuart Douglas wrote:
> This still needs to be implemented: https://issues.jboss.org/browse/UNDERTOW-156
>
> I should get to it some time this week.
Do you know if you handled GET requests or just POST?
From my testing, it looks like the request params via GET are not
being put back (after the FORM authentication workflow).
>
> Stuart
>
> ----- Original Message -----
>> From: "Anil Saldhana" <Anil.Saldhana at redhat.com>
>> To: undertow-dev at lists.jboss.org
>> Sent: Tuesday, 3 December, 2013 10:06:21 PM
>> Subject: Re: [undertow-dev] Form Authentication : Save/Restore Request
>>
>> Sometime ago, I did write the form auth code in a generic library
>> https://github.com/picketbox/picketbox/blob/master/http/src/main/java/org/picketbox/http/authentication/HTTPFormAuthentication.java
>> https://github.com/picketbox/picketbox/blob/master/http/src/main/java/org/picketbox/http/authentication/AbstractHTTPAuthentication.java
>>
>> This does request caching.
>>
>> On 12/03/2013 03:03 PM, Anil Saldhana wrote:
>>> Hi,
>>> looking at the FormAuthenticationMechanism code, I cannot figure out
>>> whether the original request gets cached (saved) before redirecting to
>>> the form login page. After authentication, it needs to be restored back.
>>> This is the only way in which the original post data to a secured URL
>>> can be saved after the form authentication work flow.
>>>
>>> Regards,
>>> Anil
More information about the undertow-dev
mailing list