Re: [Dev] GSOC 2016 - Project 21 : MongoDB Userstore Development

2016-08-07 Thread Tharindu Edirisinghe
+Mohan Hi Asantha, I've added Mohan to this mail thread who is working in the Analytics team at WSO2. He will be able to give a helping hand to the user activity analysis part that you are doing in this project. I've scheduled a google hangout (12th Aug 2016 5.00 p.m IST) for discussing this fur

Re: [Dev] GSOC 2016 - Project 21 : MongoDB Userstore Development

2016-07-31 Thread Asantha Thilina
Hi Tharindu, yes sure i am comfortable with any time and look forward for that Thanks, Asantha On Sun, Jul 31, 2016 at 12:15 PM, Tharindu Edirisinghe wrote: > Hi Asantha, > > Good work so far. Since we are reaching the final stage of GSoC, let's > have a hangout at the end of this week and pla

Re: [Dev] GSOC 2016 - Project 21 : MongoDB Userstore Development

2016-07-31 Thread Tharindu Edirisinghe
Hi Asantha, Good work so far. Since we are reaching the final stage of GSoC, let's have a hangout at the end of this week and plan the final steps to complete the project. I will go through the deliverables and provide feedback soon. Thanks, Tharindu On Mon, Jul 25, 2016 at 12:08 PM, Asantha Th

Re: [Dev] GSOC 2016 - Project 21 : MongoDB Userstore Development

2016-07-24 Thread Asantha Thilina
Hi Tharindu, I have cleaned up all the bugs and removed all unnecessary codes and committed all the changes into my repository[1] [1] https://github.com/asanthamax/mongodbuserstore Thanks, Asantha On Sat, Jul 23, 2016 at 8:26 AM, Asantha Thilina wrote: > Hi Tharindu, > > here i added all the

Re: [Dev] GSOC 2016 - Project 21 : MongoDB Userstore Development

2016-07-23 Thread Asantha Thilina
Hi Tharindu, here i added all the commitments to spread sheet[1] and also i updated my blog with about java document api[2] and also i added findbug report[3] and also i updated my blog with the code quality analysis process i have done[4] [1] https://docs.google.com/spreadsheets/d/1jwSR_qFV-LfOS

Re: [Dev] GSOC 2016 - Project 21 : MongoDB Userstore Development

2016-07-22 Thread Asantha Thilina
Hi Tharindu, I have created the API documentation and hosted in my google drive[1] i will be preparing code inspection report as well will share it as soon as well i also added github page also to the userstore script in here[2] as well [1] http://googledrive.com/host/0B__ZE1ru1jkXbDVoSDlveV9yNk0

Re: [Dev] GSOC 2016 - Project 21 : MongoDB Userstore Development

2016-07-12 Thread Asantha Thilina
Hi Tharindu, sure we will arrange a hangout on next week and sure i will refer the link and do the necessary inspect in my code for any security vulnerabilities and update you sooner Thanks, Asantha On Tue, Jul 12, 2016 at 9:56 AM, Tharindu Edirisinghe wrote: > Hi Asantha, > > Thanks for the up

Re: [Dev] GSOC 2016 - Project 21 : MongoDB Userstore Development

2016-07-12 Thread Tharindu Edirisinghe
Hi Asantha, Thanks for the update. I'm out of the country this week and won't be available. Let's have a hangout next week and discuss the final steps of the project. Along with find bugs, if you haven't enabled findsecuritybugs plugin, you can refer [1] and check if any security weaknesses are t

Re: [Dev] GSOC 2016 - Project 21 : MongoDB Userstore Development

2016-07-12 Thread Asantha Thilina
Hi Tharindu, I have clean up the code according to find bug plugin and also for rollback purposes since it only concern when modifying or adding new user or role to user store i have manually added rollback option where if error occured all the changes done to db in code segment will be discard fro

Re: [Dev] GSOC 2016 - Project 21 : MongoDB Userstore Development

2016-07-03 Thread Asantha Thilina
Hi Tharindu, thanks for the reply ,sure i will try out that and update the progress as soon as possible Thanks, Asantha On Mon, Jul 4, 2016 at 1:38 AM, Tharindu Edirisinghe wrote: > Hi Asantha, > > While you are adding the roll back transaction capability, also look into > testing a high load

Re: [Dev] GSOC 2016 - Project 21 : MongoDB Userstore Development

2016-07-03 Thread Tharindu Edirisinghe
Hi Asantha, While you are adding the roll back transaction capability, also look into testing a high load and try to generate database level exceptions. Once thing you can try out is writing a client for performing userstore manager operations such as add user, add role, login, logout etc. and pla

Re: [Dev] GSOC 2016 - Project 21 : MongoDB Userstore Development

2016-07-03 Thread Asantha Thilina
Hi all, i will be trying for implement roll back transactions capability in MongoDB to add to MongoDB User Store[2] i found that MongoDB use a concept call two phase commit[1] i trying to implement that inside my code but it seems to be little complex and i think it may arise performance issue whe

Re: [Dev] GSOC 2016 - Project 21 : MongoDB Userstore Development

2016-06-29 Thread Asantha Thilina
Hi Tharindu, I have finished and added delete functions also to users ,roles and user claim deletions to my repo[1] [1] https://github.com/asanthamax/mongodbuserstore Thanks, Asantha On Mon, Jun 27, 2016 at 4:18 AM, Asantha Thilina wrote: > Hi aiya, > > i have small problem in my research, i

Re: [Dev] GSOC 2016 - Project 21 : MongoDB Userstore Development

2016-06-22 Thread Tharindu Edirisinghe
Good work Asantha... Meanwhile let's look at getting your research work published as well. I will provide feedback for the work so far in couple of days time. I have also completed the Mid Review based on your current work where you are already ahead of schedule. Regards, TharinduE On Wed, Jun 22

Re: [Dev] GSOC 2016 - Project 21 : MongoDB Userstore Development

2016-06-22 Thread Asantha Thilina
Hi Tharindu, following is the summary of operations i have implemented up to now and yet to implement 1. Add new MongoDB User Store - done both case sensitive and intensensitive 2. Add new users to MongoDB user store - done both case sensitive and intensensitive 3. Add new roles to MongoDB user s

Re: [Dev] GSOC 2016 - Project 21 : MongoDB Userstore Development

2016-06-22 Thread Asantha Thilina
Hi Tharindu, I have finished the case insensitive user operations as well and i added selenium test scripts for those implemented functions to my repo[1] except delete function all the other functions with test script added to my repo[1] [1] https://github.com/asanthamax/mongodbuserstore Thanks,

Re: [Dev] GSOC 2016 - Project 21 : MongoDB Userstore Development

2016-06-16 Thread Asantha Thilina
Hi Tharindu, sure i'll be look forward for the hangout Thanks, Asantha On Fri, Jun 17, 2016 at 2:22 AM, Tharindu Edirisinghe wrote: > Hi Asantha, > > I will go through the docs and provide feedback soon. Let's have a hangout > session to discuss the pending issues. > > I'm available today 9.00

Re: [Dev] GSOC 2016 - Project 21 : MongoDB Userstore Development

2016-06-16 Thread Tharindu Edirisinghe
Hi Asantha, I will go through the docs and provide feedback soon. Let's have a hangout session to discuss the pending issues. I'm available today 9.00 P.M IST for a google hangout. Thanks, TharinduE On Fri, Jun 17, 2016 at 11:30 AM, Asantha Thilina wrote: > Hi Tharindu, > > I have prepared th

Re: [Dev] GSOC 2016 - Project 21 : MongoDB Userstore Development

2016-06-16 Thread Asantha Thilina
Hi Tharindu, I have prepared the user guide[1] and administrator guide[2] in google doc since all tasks are not finished yet i have only added the tasks i have already done and there is still the developer guide has to be prepare i will prepare it as sooner as well [1] https://docs.google.com/doc

Re: [Dev] GSOC 2016 - Project 21 : MongoDB Userstore Development

2016-06-13 Thread Asantha Thilina
Hi Tharindu, sure i will prepare those documents sooner Thanks, Asantha On Mon, Jun 13, 2016 at 9:38 PM, Tharindu Edirisinghe wrote: > Excellent work Asantha ! > > Meanwhile you can prepare a document also adding the screenshots you have > got. Basically we will need following documentation. >

Re: [Dev] GSOC 2016 - Project 21 : MongoDB Userstore Development

2016-06-13 Thread Tharindu Edirisinghe
Excellent work Asantha ! Meanwhile you can prepare a document also adding the screenshots you have got. Basically we will need following documentation. 1. Developer Guide ( The architecture of the userstoremanager, diagrams of all the collections, how they are related to each other etc.) 2. Admi

Re: [Dev] GSOC 2016 - Project 21 : MongoDB Userstore Development

2016-06-13 Thread Asantha Thilina
Hi Tharindu, as you advice me i added soap ui screen shots of test result and selenium script for implemented functions into my repository[1] [1] https://github.com/asanthamax/mongodbuserstore Thanks, Asantha On Mon, Jun 13, 2016 at 6:23 AM, Asantha Thilina wrote: > Hi Tharindu, > > i updated

Re: [Dev] GSOC 2016 - Project 21 : MongoDB Userstore Development

2016-06-13 Thread Asantha Thilina
Hi Tharindu, i updated my blog[1] with all the works i have done so far there i added all the methods and their use in MongoDBUserStoreManager , hopes your feedback [1] http://asanthamax.blogspot.com/ Thanks, Asantha On Sun, Jun 12, 2016 at 2:11 PM, Asantha Thilina wrote: > Hi Tharindu, > > i h

Re: [Dev] GSOC 2016 - Project 21 : MongoDB Userstore Development

2016-06-12 Thread Asantha Thilina
Hi Tharindu, i have solved the login issue for registered users in my mongodb user store. after compare my implementation with JDBCUserStoreManager i realized that i would gone through the wrong path by implementing UserStoreManager so i changed it by extending AbstractUserStoreManager instead of

Re: [Dev] GSOC 2016 - Project 21 : MongoDB Userstore Development

2016-06-10 Thread Asantha Thilina
Hi Tharindu, sorry for the delay i have updated my blog today and i'm keep posting all the progress in their[1] up to now and i am look forward for your feedbacks and comments [1]http://asanthamax.blogspot.com/ Thanks, Asantha On Thu, Jun 9, 2016 at 7:37 AM, Tharindu Edirisinghe wrote: > Hi A

Re: [Dev] GSOC 2016 - Project 21 : MongoDB Userstore Development

2016-06-09 Thread Tharindu Edirisinghe
Hi Asantha, Great ! There has been a delay in my replies but it's really good to see your progress with the project with a minimum level of supervision. I will arrange a review next week with the Identity Server team for the work completed so far and then we can provide the Mid Review feedback fo

Re: [Dev] GSOC 2016 - Project 21 : MongoDB Userstore Development

2016-06-09 Thread Asantha Thilina
Hi Tharindu, i rearranged the UM_USER_ATTRIBUTE collection now when ever user update his profile, claim values will save in the collection the way we discussed in hangout i updated my repo[1] with latest modification [1] https://github.com/asanthamax/mongodbuserstore Thanks, Asantha On Wed, Jun

Re: [Dev] GSOC 2016 - Project 21 : MongoDB Userstore Development

2016-06-08 Thread Asantha Thilina
Hi Tharindu, sorry i forget to attach my github repository here is the repository link i have update the repository with my latest errors fixed https://github.com/asanthamax/mongodbuserstore Thanks, Asantha On Wed, Jun 8, 2016 at 8:00 AM, Asantha Thilina wrote: > Hi Tharindu, > > I have fixed

Re: [Dev] GSOC 2016 - Project 21 : MongoDB Userstore Development

2016-06-08 Thread Asantha Thilina
Hi Tharindu, I have fixed the claims issue now it can update and add claims to user but still the db structure is same as in relational structure i have currently mapping it to a way we discussed ,most of the issues being fixed now following tasks can do in now MongoDBUserStoreManager can add user

Re: [Dev] GSOC 2016 - Project 21 : MongoDB Userstore Development

2016-06-05 Thread Asantha Thilina
Hi Tharindu, ok sure i will modify the readme content as appropriately,at the moment i didn't add that feature, set to all default i will modify that to add a port number also, Thanks, Asantha On Mon, Jun 6, 2016 at 12:04 AM, Tharindu Edirisinghe wrote: > Hi Asantha, > > We might not need impl

Re: [Dev] GSOC 2016 - Project 21 : MongoDB Userstore Development

2016-06-05 Thread Tharindu Edirisinghe
Hi Asantha, We might not need implementing the HybridRoleManager... I'll provide you the exact details after trying out the functionality you have implemented up to now. Can you please write a basic document with the steps for creating the mongodb database and adding a userstore in IS pointing to

Re: [Dev] GSOC 2016 - Project 21 : MongoDB Userstore Development

2016-06-05 Thread Asantha Thilina
Hi Tharindu, As we discussed on hangout i doing the changes in UM_USER_ATTRIBUTE collection and also changing the hybrid role to master datasource but when i try to add user to hybrid role i facing a small issue i can't grab the datasource ,in HybridRoleManager class it need to give java.sql.DataS

Re: [Dev] GSOC 2016 - Project 21 : MongoDB Userstore Development

2016-06-04 Thread Tharindu Edirisinghe
The call details are as following. 1. Demonstrated how to use WSO2 admin services. 2. All the user operations in *RemoteUserStoreManagerService *[1] should be tested (using SOAP UI) for the mongodb userstore. 3. When the user profile is saved in a JDBC userstore, for each attribute of the user,

Re: [Dev] GSOC 2016 - Project 21 : MongoDB Userstore Development

2016-06-03 Thread Asantha Thilina
Hi Tharindu, ok sure i will look forward for that Thanks, Asantha On Fri, Jun 3, 2016 at 2:44 PM, Tharindu Edirisinghe wrote: > Hi Asantha, > > Shall we have a google hangout tomorrow (Saturday) at 9.00 p.m ? So we can > discuss about the issues you are facing and get them resolved. > > Regard

Re: [Dev] GSOC 2016 - Project 21 : MongoDB Userstore Development

2016-06-03 Thread Tharindu Edirisinghe
Hi Asantha, Shall we have a google hangout tomorrow (Saturday) at 9.00 p.m ? So we can discuss about the issues you are facing and get them resolved. Regards, TharinduE On Fri, Jun 3, 2016 at 11:43 PM, Asantha Thilina wrote: > Hi Tharindu, > > i fixed the most of the errors appeared in my user

Re: [Dev] GSOC 2016 - Project 21 : MongoDB Userstore Development

2016-06-03 Thread Asantha Thilina
Hi Tharindu, i fixed the most of the errors appeared in my user store in user management side now it's almost done in user management side now i can add new users ,roles and search roles of users and users of roles only issue i having now is i can't update a user profile of user in user store i ge

Re: [Dev] GSOC 2016 - Project 21 : MongoDB Userstore Development

2016-05-26 Thread Asantha Thilina
Hi Tharindu, sure i'll be look forward for that Thanks, Asantha On Thu, May 26, 2016 at 9:37 PM, Tharindu Edirisinghe wrote: > Hi Asantha, > > Glad to hear the progress... Sure I'll review over the weekend and provide > feedback. By next week we'll have a hangout to discuss on how to move > fo

Re: [Dev] GSOC 2016 - Project 21 : MongoDB Userstore Development

2016-05-26 Thread Tharindu Edirisinghe
Hi Asantha, Glad to hear the progress... Sure I'll review over the weekend and provide feedback. By next week we'll have a hangout to discuss on how to move forward and the difficulties you have faced. Keep the momentum going ! Regards, TharinduE On Fri, May 27, 2016 at 12:17 AM, Asantha Thilin

Re: [Dev] GSOC 2016 - Project 21 : MongoDB Userstore Development

2016-05-26 Thread Asantha Thilina
Hi Tharindu, i been able to fix the mongodb user store intitalizing error now it working successfully it will be registered as a secondary user store in IS and when going to add a new users and roles it will show the domain of mongodb userstore still i having small issues in my json query formats

Re: [Dev] GSOC 2016 - Project 21 : MongoDB Userstore Development

2016-05-19 Thread Asantha Thilina
Hi Tharindu, sorry for the late reply ,as you advised i remove the scr reference and its corresponding methods from user store now it's works fine but i having another small issue if i wanted to run my mongodb user store as as my primary user store how would i do that? i added my user store config

Re: [Dev] GSOC 2016 - Project 21 : MongoDB Userstore Development

2016-05-18 Thread Tharindu Edirisinghe
Hi Asantha, Great progress so far ! Since the reference is given to realm service in the bundle activator, you should be facing the issue. Can you remove the service reference from the bundle activator class. (You can delete the following from the class). * @scr.reference name="user.realmservice

Re: [Dev] GSOC 2016 - Project 21 : MongoDB Userstore Development

2016-05-15 Thread Asantha Thilina
Hi Tharindu, I found the issue after debugging into my code ,my service bundle is not get activated because i referring into mongodb-driver which is not osgi comaptible and i just found another library in here[1] and it is worked for me ,fixed project i pushed into my github repository [2]. i foun

[Dev] GSOC 2016 - Project 21 : MongoDB Userstore Development

2016-05-11 Thread Asantha Thilina
Hi Tharindu, since mongodb driver not having prepared statement support earlier i developed a logic to support prepared statement but i realized that it has a limitation such as parameters has to be pass as same order it exists in prepared statement then as you suggested to use key value relations