Tobias Schlitt wrote: > Hi all, > > 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?
I think it's a good idea. -- Alexandru Stanoi System Developer eZ Systems | http://ez.no -- Components mailing list Components@lists.ez.no http://lists.ez.no/mailman/listinfo/components