Hi all,

I have created a simple article on *Migrating from MySQL DB to MongoDB*
http://blog.iamzajith.com/2016/03/migrating-from-mysql-db-to-mongodb.html
<https://mailtrack.io/trace/link/a8ab48e5f66ecae22546a34cd69f0dacfe8c48da?url=http%3A%2F%2Fblog.iamzajith.com%2F2016%2F03%2Fmigrating-from-mysql-db-to-mongodb.html&signature=6bd453beb711779d>


Sent with MailTrack
<https://mailtrack.io/install?source=signature&lang=en&referral=mohamedzaj...@gmail.com&idSignature=22>

On Mon, Mar 7, 2016 at 4:27 PM, Mohamed ZAJITH <mohamedzaj...@gmail.com>
wrote:

> Hi, Tharindu
> This is my blog
> <https://mailtrack.io/trace/link/6dcc701c9fbaad52d1b35ac2da92f55f71276814?url=http%3A%2F%2Fblog.iamzajith.com%2Fsearch%2Flabel%2FGsoc&signature=1cc7b1cf40bbf8e0>
> . i will continuously update my work.
>
>
>
>
> Sent with MailTrack
> <https://mailtrack.io/install?source=signature&lang=en&referral=mohamedzaj...@gmail.com&idSignature=22>
>
> On Fri, Mar 4, 2016 at 11:40 AM, Tharindu Edirisinghe <tharin...@wso2.com>
> wrote:
>
>> Hi Mohamed,
>>
>> Great work ! Meanwhile, can you create a blog and write your experiences
>> too.. on how you prepare for this project and the stuff you try out.
>>
>> Regards,
>> TharinduE
>>
>> On Thu, Mar 3, 2016 at 9:41 PM, Mohamed ZAJITH <mohamedzaj...@gmail.com>
>> wrote:
>>
>>>
>>> Hi Tharindu,
>>>
>>> i have finished the 4th task. now i am on a advanced MongoDB learning
>>> stage.
>>> meanwhile your blogger is helpful to me.
>>>
>>>
>>> Sent with MailTrack
>>> <https://mailtrack.io/install?source=signature&lang=en&referral=mohamedzaj...@gmail.com&idSignature=22>
>>>
>>> On Thu, Mar 3, 2016 at 7:19 PM, Mohamed ZAJITH <mohamedzaj...@gmail.com>
>>> wrote:
>>>
>>>> Hi Tharindu,
>>>>
>>>> i have finished the 4th task. now i am on a advanced MongoDB learning
>>>> stage.
>>>> meanwhile your blogger is helpful to me.
>>>>
>>>>
>>>> Sent with MailTrack
>>>> <https://mailtrack.io/install?source=signature&lang=en&referral=mohamedzaj...@gmail.com&idSignature=22>
>>>>
>>>> On Sun, Feb 28, 2016 at 4:45 PM, Tharindu Edirisinghe <
>>>> tharin...@wso2.com> wrote:
>>>>
>>>>> Hi Mohammed,
>>>>>
>>>>> Good to hear that you are progressing through...
>>>>>
>>>>> Regards,
>>>>> Tharindu
>>>>>
>>>>> On Sat, Feb 27, 2016 at 10:26 PM, Mohamed ZAJITH <
>>>>> mohamedzaj...@gmail.com> wrote:
>>>>>
>>>>>> Hi
>>>>>> I have started the task 4
>>>>>>
>>>>>> Sent with MailTrack
>>>>>> <https://mailtrack.io/install?source=signature&lang=en&referral=mohamedzaj...@gmail.com&idSignature=22>
>>>>>>
>>>>>> On Sat, Feb 27, 2016 at 10:24 PM, Mohamed ZAJITH <
>>>>>> mohamedzaj...@gmail.com> wrote:
>>>>>>
>>>>>>> Hi buddies
>>>>>>> previous problem is solved
>>>>>>>
>>>>>>>
>>>>>>> Sent with MailTrack
>>>>>>> <https://mailtrack.io/install?source=signature&lang=en&referral=mohamedzaj...@gmail.com&idSignature=22>
>>>>>>>
>>>>>>> On Sat, Feb 27, 2016 at 9:22 PM, Mohamed ZAJITH <
>>>>>>> mohamedzaj...@gmail.com> wrote:
>>>>>>>
>>>>>>>> Hi
>>>>>>>>
>>>>>>>> Tharindu I have error on IS. here attach image
>>>>>>>> i'm follow this link
>>>>>>>> http://tharindue.blogspot.com/2015/08/claim-management-operations-in-wso2.html
>>>>>>>> <https://mailtrack.io/trace/link/13ec0cbc1b5019636ffd86bb9a5bf6d20d0d3679?url=http%3A%2F%2Ftharindue.blogspot.com%2F2015%2F08%2Fclaim-management-operations-in-wso2.html&signature=730bb1a88bfca6bc>
>>>>>>>> can you help me?
>>>>>>>>
>>>>>>>> [2016-02-27 21:08:21,731] ERROR
>>>>>>>> {org.wso2.carbon.user.core.common.AbstractUserStoreManager} -
>>>>>>>>  org.wso2.carbon.user.core.UserStoreException: Error occurred while
>>>>>>>> retrieving users for filter : % & max Item limit : 100
>>>>>>>>
>>>>>>>> Sent with MailTrack
>>>>>>>> <https://mailtrack.io/install?source=signature&lang=en&referral=mohamedzaj...@gmail.com&idSignature=22>
>>>>>>>>
>>>>>>>> On Wed, Feb 24, 2016 at 10:07 AM, Mohamed ZAJITH <
>>>>>>>> mohamedzaj...@gmail.com> wrote:
>>>>>>>>
>>>>>>>>> Tharindu,
>>>>>>>>>
>>>>>>>>> I will grateful to you, that you are consider on this project. and
>>>>>>>>> I'm thanking you for the above resources.
>>>>>>>>> I have started the task 2 after finishing the task 1 and I will
>>>>>>>>> keep informed to you my updates.
>>>>>>>>>
>>>>>>>>> On Wed, Feb 24, 2016 at 7:51 AM, Tharindu Edirisinghe <
>>>>>>>>> tharin...@wso2.com> wrote:
>>>>>>>>>
>>>>>>>>>> Hi Mohamed,
>>>>>>>>>>
>>>>>>>>>> We are glad to see your interest in this project. In order to
>>>>>>>>>> make you familiar with this project with regard to WSO2 platform, we 
>>>>>>>>>> would
>>>>>>>>>> like you to complete the following task which would provide an
>>>>>>>>>> understanding on how the userstore managers are used in WSO2 
>>>>>>>>>> products.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> 1. Refer [1] and understand how a userstore manager can be
>>>>>>>>>> written and used in a product like WSO2 Identity Server [2].
>>>>>>>>>>
>>>>>>>>>> 2. Refer [3] and understand more about Claims and Claim
>>>>>>>>>> Management.
>>>>>>>>>>
>>>>>>>>>> 3. Referring [1], extend the
>>>>>>>>>> *org.wso2.carbon.user.core.jdbc.JDBCUserStoreManager* class and
>>>>>>>>>> write your own JDBC userstore manaager. (MySQL is preferred).
>>>>>>>>>>
>>>>>>>>>> 4. Introduce a new claim called *lastPasswordResetTimestamp*
>>>>>>>>>> which tracks the timestamp of each user's last successful password 
>>>>>>>>>> reset
>>>>>>>>>> attempt. (in WSO2 Identity Server). For this you can refer [1] and 
>>>>>>>>>> override
>>>>>>>>>> the *doUpdateCredential*, *doUpdateCredentialByAdmin* methods in
>>>>>>>>>> the custom userstore manager you wrote in previous step. Inside these
>>>>>>>>>> methods after successful password reset, set the current timestemp 
>>>>>>>>>> as a
>>>>>>>>>> user claim. For this you can refer [4].
>>>>>>>>>>
>>>>>>>>>> 5. In the JDBC userstore manager you have written in above step,
>>>>>>>>>> override the *doAuthenticate *method. Inside the method, after
>>>>>>>>>> performing authentication, compare the timestamp of the last time 
>>>>>>>>>> the user
>>>>>>>>>> updated the credentials with current timestamp. If it is greater 
>>>>>>>>>> than 60
>>>>>>>>>> days (you can hardcode this value for the moment) return an 
>>>>>>>>>> exception with
>>>>>>>>>> a message saying the user has to reset the password as it is 
>>>>>>>>>> expired. (For
>>>>>>>>>> the users where the claim for password reset timestamp is empty, you 
>>>>>>>>>> can
>>>>>>>>>> let the users successfully authenticate)
>>>>>>>>>>
>>>>>>>>>> When performing above tasks, if you face any difficulty, you can
>>>>>>>>>> ask for help from this mail thread. You can use GitHub to share your 
>>>>>>>>>> source
>>>>>>>>>> code and after completing a deliverable from above steps, you can 
>>>>>>>>>> share
>>>>>>>>>> your progress with us.
>>>>>>>>>>
>>>>>>>>>> If you need further clarifications, please get back.
>>>>>>>>>>
>>>>>>>>>> [1]
>>>>>>>>>> https://docs.wso2.com/display/IS510/Writing+a+Custom+User+Store+Manager
>>>>>>>>>> [2] http://wso2.com/products/identity-server/
>>>>>>>>>> [3]
>>>>>>>>>> http://tharindue.blogspot.com/2015/08/claim-management-operations-in-wso2.html
>>>>>>>>>> <https://mailtrack.io/trace/link/13ec0cbc1b5019636ffd86bb9a5bf6d20d0d3679?url=http%3A%2F%2Ftharindue.blogspot.com%2F2015%2F08%2Fclaim-management-operations-in-wso2.html&signature=730bb1a88bfca6bc>
>>>>>>>>>> [4]
>>>>>>>>>> http://tharindue.blogspot.com/2015/12/tracking-last-successful-login-attempt.html
>>>>>>>>>> [5]
>>>>>>>>>> http://tharindue.blogspot.com/2015/05/a-workaround-for-renaming-username-of.html
>>>>>>>>>>
>>>>>>>>>> Thank you !
>>>>>>>>>> Tharindu Edirisinghe
>>>>>>>>>>
>>>>>>>>>> On Wed, Feb 24, 2016 at 12:50 AM, Mohamed ZAJITH <
>>>>>>>>>> mohamedzaj...@gmail.com> wrote:
>>>>>>>>>>
>>>>>>>>>>> Hi
>>>>>>>>>>> I'm a final year Computer Science Student from University of
>>>>>>>>>>> Jaffna. I'm interested in above mentioned project that is
>>>>>>>>>>> suggested by WSO2 for the event GSOC 2016. Meanwhile I
>>>>>>>>>>> am familiar with the skills which provided with the relevant topic
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> *Regards.*
>>>>>>>>>>> *MohamedZajith*
>>>>>>>>>>> *Linkedin*
>>>>>>>>>>> <https://mailtrack.io/trace/link/ea5c4dfb9fe4057115621593cadf881aace4dc1f?url=https%3A%2F%2Fwww.linkedin.com%2Fin%2Fmohamedzajith&signature=9f62cd224c1a0fd7>
>>>>>>>>>>>
>>>>>>>>>>> Sent with MailTrack
>>>>>>>>>>> <https://mailtrack.io/install?source=signature&lang=en&referral=mohamedzaj...@gmail.com&idSignature=22>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>>
>>>>>>>>>> Tharindu Edirisinghe
>>>>>>>>>> Software Engineer | WSO2 Inc
>>>>>>>>>> Platform Security Team
>>>>>>>>>> Blog : tharindue.blogspot.com
>>>>>>>>>> mobile : +94 775181586
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> *Regards.*
>>>>>>>>> *MohamedZajith*
>>>>>>>>> *Linkedin*
>>>>>>>>> <https://mailtrack.io/trace/link/4f2377a8e6ba92a01fb1326dd791e9eef9d17a2a?url=https%3A%2F%2Fwww.linkedin.com%2Fin%2Fmohamedzajith&signature=e6b908c326786434>
>>>>>>>>> Sent with MailTrack
>>>>>>>>> <https://mailtrack.io/install?source=signature&lang=en&referral=mohamedzaj...@gmail.com&idSignature=22>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> *Regards.*
>>>>>>>> *MohamedZajith*
>>>>>>>> *Linkedin*
>>>>>>>> <https://mailtrack.io/trace/link/d670d8fa0a732f4d3173fff02cd4ec395cf7e852?url=https%3A%2F%2Fwww.linkedin.com%2Fin%2Fmohamedzajith&signature=651ecc8db49b5d12>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> *Regards.*
>>>>>>> *MohamedZajith*
>>>>>>> *Linkedin*
>>>>>>> <https://mailtrack.io/trace/link/0b07a725c68acca98f3bfed128651b2c1eebfcb7?url=https%3A%2F%2Fwww.linkedin.com%2Fin%2Fmohamedzajith&signature=382113d140bbef56>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> *Regards.*
>>>>>> *MohamedZajith*
>>>>>> *Linkedin*
>>>>>> <https://mailtrack.io/trace/link/414dd92f0d678658ee316b7a86be66ba48324aba?url=https%3A%2F%2Fwww.linkedin.com%2Fin%2Fmohamedzajith&signature=fcb7ab668979c261>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>>
>>>>> Tharindu Edirisinghe
>>>>> Software Engineer | WSO2 Inc
>>>>> Platform Security Team
>>>>> Blog : tharindue.blogspot.com
>>>>> mobile : +94 775181586
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> *Regards.*
>>>> *MohamedZajith*
>>>> *Linkedin*
>>>> <https://mailtrack.io/trace/link/4477fbcfd1ef9b5bf3e944824454e5c185cdef36?url=https%3A%2F%2Fwww.linkedin.com%2Fin%2Fmohamedzajith&signature=c852fed3d1aba2e4>
>>>>
>>>
>>>
>>>
>>> --
>>> *Regards.*
>>> *MohamedZajith*
>>> *Linkedin*
>>> <https://mailtrack.io/trace/link/690e4d307020ed7c263e4396a34176566c56497a?url=https%3A%2F%2Fwww.linkedin.com%2Fin%2Fmohamedzajith&signature=f26c3adf0758ae18>
>>>
>>
>>
>>
>> --
>>
>> Tharindu Edirisinghe
>> Software Engineer | WSO2 Inc
>> Platform Security Team
>> Blog : tharindue.blogspot.com
>> mobile : +94 775181586
>>
>
>
>
> --
> *Regards.*
> *MohamedZajith*
> *Linkedin*
> <https://mailtrack.io/trace/link/dfdcb05ec921fb52650c595cfa0d75b5ff336d90?url=https%3A%2F%2Fwww.linkedin.com%2Fin%2Fmohamedzajith&signature=82efd226ffb475e5>
>



-- 
*Regards.*
*MohamedZajith*
*Linkedin*
<https://mailtrack.io/trace/link/abce3f674bd95bbd64f3b310c4f3e15e32c5ff64?url=https%3A%2F%2Fwww.linkedin.com%2Fin%2Fmohamedzajith&signature=c45057d088aabe1b>
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to