This is the way i do it and it works

@Contribute(ServiceOverride.class)
public static void
setupApplicationServiceOverrides(MappedConfiguration<Class,Object>
configuration,@Local WebSecurityManager customAuthenticator)
{
configuration.add(WebSecurityManager.class, customAuthenticator);
}

On Sat, Jan 3, 2015 at 1:02 PM, Aleksandar Nikolov <m...@anikolov.com>
wrote:

> Hi,
>
> Does anybody know how to override a service in Tapestry 5.3.8?
>
> I don't want to use the back door - copy&paste&change the original source
> in the original location and thus force the webserver to use the modified
> class rather than the original one.
>
> --
> Best regards,
> Aleksandar
>

Reply via email to