Hi,

The advantage of a redirect is, that the redirect target can fully
leverage all Sling functionality.

At the time the AuthenticationHandler.requestCredentials method is
called the SlingHttpServletRequest and *Response objects have not been
set up yet and no resource resolver is available.

Thus, a redirect is the only really feasible and useful option.

Regards
Felix

On 22.06.2010 04:05, Justin Edelson (JIRA) wrote:
> have the form authentication handler include the login form as a resource 
> rather than doing a redirect
> ------------------------------------------------------------------------------------------------------
> 
>                  Key: SLING-1564
>                  URL: https://issues.apache.org/jira/browse/SLING-1564
>              Project: Sling
>           Issue Type: Improvement
>           Components: Extensions
>             Reporter: Justin Edelson
> 
> 
> 
> 

Reply via email to