Hi Farasath,

I guess you can follow the same implementation flow we have followed when
we developing the Email Internationalization feature. Can i know what is
the current implementation with respect to registry persistence of
Challenge Questions. For example check whether how corresponding values of
the challenge questions are being saved in the registry (i.e "registry
resource or as a "registry property").

You can check [1] to check the suggestions we have incorporated when
implementing the Email Internationalization feature. In addition to this
can you explain how you are going to conflate the extension point to
facilitate different type of persistence methods (i.e DB) other than
registry. Are you planning to give this as a configurable option through a
file ?

Thanks,
Kasun.


[1] [Architecture] [IS] Email Internationalization feature for IS User
recovery email templates



On Thu, Jun 2, 2016 at 6:21 PM, Harsha Thirimanna <hars...@wso2.com> wrote:

> forward to architecture...​
>
>
> *Harsha Thirimanna*
> Associate Tech Lead; WSO2, Inc.; http://wso2.com
> * <http://www.apache.org/>*
> *email: **hars...@wso2.com* <az...@wso2.com>* cell: +94 71 5186770 *
> *twitter: **http://twitter.com/ <http://twitter.com/afkham_azeez>*
> *harshathirimannlinked-in: **http:
> <http://lk.linkedin.com/in/afkhamazeez>**//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
> <http://www.linkedin.com/pub/harsha-thirimanna/10/ab8/122>*
>
> *Lean . Enterprise . Middleware*
>
>
> On Thu, Jun 2, 2016 at 6:12 PM, Farasath Ahamed <farasa...@wso2.com>
> wrote:
>
>> Hi All,
>>
>> I am implementing User Challenge question Internationalization feature
>> for the next milestone release of Identity Server. Currently, we do not
>> support presenting challenge questions for users in different languages
>> based on their locality.
>>
>> We have already implemented internationalization of email templates[1],
>> where we pick the correct email template for the user based on his locality
>> claim from the registry. Email templates are stored in the registry
>> following a convention <template_name>.<locale> as shown below. For example
>> passwordreset.pl_pl is the password reset email template is for the Polish
>> language.
>>
>>
>> ​
>>
>> Therefore, we are planning to generalize the logic for retrieving
>> registry resources based on the locality and reuse it internalization of
>> email and challenge questions. The motive behind this is to reuse the
>> functionality of picking registry resources based on the locality in future
>> extensions.
>>
>> We are also planning to provide an extension point so that picking the
>> resources (like challenge questions) for different languages may be
>> implemented in different ways (eg: pick from a database, translate using a
>> Translate API etc.)
>>
>> Suggestions/feedback are appreciated.
>>
>>
>> [1] https://github.com/wso2-extensions/identity-event-handler-email
>>
>> Thanks,
>> Farasath Ahamed
>> Software Engineer,
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>>
>> Email: farasa...@wso2.com
>> Mobile: +94777603866
>> Blog:  blog.farazath.com
>> Twitter: @ farazath619 <https://twitter.com/farazath619>
>>
>
>
> _______________________________________________
> Architecture mailing list
> Architecture@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
>


-- 
Kasun Bandara
*Software Engineer*
Mobile : +94 (0) 718 338 360
<%2B94%20%280%29%20773%20451194>
kas...@wso2.com <thili...@wso2.com>
_______________________________________________
Architecture mailing list
Architecture@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to