Hi, IMO is this should be go with separate component. It helps easy when extending it further.
Thanks ! On Fri, Nov 28, 2014 at 5:01 PM, Sajith Kariyawasam <saj...@wso2.com> wrote: > Should this handler need to be bundle with all the products? In a > distributed setup, to which product(s) (SM / CC / AS ..) this should goes > to ? > > On Fri, Nov 28, 2014 at 4:47 PM, Udara Liyanage <ud...@wso2.com> wrote: > >> Hi, >> >> As I mentioned in a previous mail, I wrote a custom token handler in >> order to generate a JWT token. My concern is how to add this to product. >> Either need to write a separate component or add to an existing one. >> Writing a separate component to just a single class won't worth from one >> aspect given that has to add a feature too. However if we are to add to an >> existing component, commons component is the most likely candidate. However >> it is supposed to hold common things for all components. >> >> Wdyt? >> >> -- >> >> Udara Liyanage >> Software Engineer >> WSO2, Inc.: http://wso2.com >> lean. enterprise. middleware >> >> web: http://udaraliyanage.wordpress.com >> phone: +94 71 443 6897 >> > > > > -- > *Sajith Kariyawasam* > > > *Committer and PMC member, Apache Stratos,WSO2 Inc., http://wso2.com > <http://wso2.com>AMIE (SL)Mobile: +94772269575* > -- Regards, Manula Chathurika Thantriwatte Software Engineer WSO2 Inc. : http://wso2.com lean . enterprise . middleware email : manu...@wso2.com / man...@apache.org phone : +94 772492511 blog : http://manulachathurika.blogspot.com/