Hi Tobias,

Tobias Schlitt a écrit :

> while using the Authentication component in an application, I
> experienced some inconveniences with the OpenID filter. The filter
> perfoms the redirect to the OpenID provider itself, by either sending a
> Location header or echoing a script tag. Especially in combination with
>  MvcTools, this is inconvenient, since you want to handle the redirect
> in the correct way of using ezcMvcExternalRedirect instead.
> 
> Therefore I'd like to suggest an enhancement the following way:
> 
> - Define an interface that handles the redirect using a callback (static
> method)
> - Add an option to provide the callback class
> - Provide the current behavior in a default implementation of that
> interface and set this class as the default for the option
> 
> This way we don't break BC but still allow users to handle the redirect
> on their own way.
> 
> What do you think?

Totally agree with this.

It is nice to propose as I just wrote a spec on how to add OpenID support in eZ 
Publish
and just noticed what you said yesterday evening.

Do you think this improvement could be implemented by the 2009.1 release ?

-- 
Jérôme :)
-- 
Components mailing list
Components@lists.ez.no
http://lists.ez.no/mailman/listinfo/components

Reply via email to