Hi Udara, 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 component > If there is a chance that we might have to write similar extensions for Stratos requirements in future (ex.: integrating OAuth to Rest API), its better to go with a separate component. IMHO putting this in commons is not a good thing, since this functionality is required for OAuth only. > > Wdyt? > > -- > > Udara Liyanage > Software Engineer > WSO2, Inc.: http://wso2.com > lean. enterprise. middleware > > web: http://udaraliyanage.wordpress.com > phone: +94 71 443 6897 > > -- > Thanks and Regards, > > Isuru H. > +94 716 358 048* <http://wso2.com/>* > > > * <http://wso2.com/>* > > >