If need you can write logic to check user name and fetch tenant domain from that. Then you may add if check to check tenant name before adding your handler. There are samples available and you may try that. But we normally do not recommend to do this kind of modifications unless its special tenant(some thing like organization tenant).
Thanks, sanjeewa. On Wed, Dec 23, 2015 at 10:37 AM, Malith Munasinghe <mali...@wso2.com> wrote: > Removing [support-dev] > > On Wed, Dec 23, 2015 at 10:32 AM, Malith Munasinghe <mali...@wso2.com> > wrote: > >> Hi All, >> >> I am writing a custom handler. This handler needs to be added only to a >> specific tenant only. When I add it to the velocity_template.xml it gets >> applied to all the tenants. >> >> Is there a way to achieve this through velocity_template.xml itself ? >> >> Regards, >> Malith >> >> -- >> Malith Munasinghe | Software Engineer >> M: +94 (71) 9401122 >> E: mali...@wso2.com >> W: http://wso2.com >> > > > > -- > Malith Munasinghe | Software Engineer > M: +94 (71) 9401122 > E: mali...@wso2.com > W: http://wso2.com > -- *Sanjeewa Malalgoda* WSO2 Inc. Mobile : +94713068779 <http://sanjeewamalalgoda.blogspot.com/>blog :http://sanjeewamalalgoda.blogspot.com/ <http://sanjeewamalalgoda.blogspot.com/>
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev