Hi, I have also attached the full source of the jar.
On Wed, Oct 15, 2014 at 2:17 PM, Shani Ranasinghe <sh...@wso2.com> wrote: > Please find the keyspace schema for the user store. > > CREATE TABLE UM_USER ( > KEY blob PRIMARY KEY > ) WITH > comment='' AND > comparator=blob AND > read_repair_chance=0.000000 AND > gc_grace_seconds=0 AND > default_validation=blob AND > min_compaction_threshold=4 AND > max_compaction_threshold=32 AND > replicate_on_write='false' AND > compaction_strategy_class='SizeTieredCompactionStrategy' AND > compression_parameters:sstable_compression='SnappyCompressor'; > > CREATE TABLE UM_USER_ROLE ( > KEY blob PRIMARY KEY > ) WITH > comment='' AND > comparator=blob AND > read_repair_chance=0.000000 AND > gc_grace_seconds=0 AND > default_validation=blob AND > min_compaction_threshold=4 AND > max_compaction_threshold=32 AND > replicate_on_write='false' AND > compaction_strategy_class='SizeTieredCompactionStrategy' AND > compression_parameters:sstable_compression='SnappyCompressor'; > > CREATE TABLE UM_ROLE_USER_INDEX ( > KEY blob PRIMARY KEY > ) WITH > comment='' AND > comparator=blob AND > read_repair_chance=0.000000 AND > gc_grace_seconds=0 AND > default_validation=blob AND > min_compaction_threshold=4 AND > max_compaction_threshold=32 AND > replicate_on_write='false' AND > compaction_strategy_class='SizeTieredCompactionStrategy' AND > compression_parameters:sstable_compression='SnappyCompressor'; > > CREATE TABLE UM_ROLE ( > KEY blob PRIMARY KEY > ) WITH > comment='' AND > comparator=blob AND > read_repair_chance=0.000000 AND > gc_grace_seconds=0 AND > default_validation=blob AND > min_compaction_threshold=4 AND > max_compaction_threshold=32 AND > replicate_on_write='false' AND > compaction_strategy_class='SizeTieredCompactionStrategy' AND > compression_parameters:sstable_compression='SnappyCompressor'; > > CREATE TABLE UM_USER_ATTRIBUTE ( > KEY blob PRIMARY KEY > ) WITH > comment='' AND > comparator=blob AND > read_repair_chance=0.000000 AND > gc_grace_seconds=0 AND > default_validation=blob AND > min_compaction_threshold=4 AND > max_compaction_threshold=32 AND > replicate_on_write='false' AND > compaction_strategy_class='SizeTieredCompactionStrategy' AND > compression_parameters:sstable_compression='SnappyCompressor'; > > > On Wed, Oct 15, 2014 at 2:15 PM, Deependra Ariyadewa <d...@wso2.com> > wrote: > >> @Shani Please share the user mgt schema. >> >> On Wed, Oct 15, 2014 at 12:37 PM, Prabath Abeysekera <praba...@wso2.com> >> wrote: >> >>> If that's the case please get Deep/Bhathiya to do a quick review on the >>> Cassandra related aspects of this. We can probably go for a much organized >>> code review later. >>> >>> Cheers, >>> Prabath >>> >>> On Wed, Oct 15, 2014 at 12:32 PM, Shani Ranasinghe <sh...@wso2.com> >>> wrote: >>> >>>> Hi Prabath, >>>> >>>> Actually this is quite urgent as this needs to be shared to two >>>> customers. Hence shared the code in this manner. I just scheduled the code >>>> review for today. >>>> >>>> On Wed, Oct 15, 2014 at 12:26 PM, Shani Ranasinghe <sh...@wso2.com> >>>> wrote: >>>> >>>>> [adding dev@] >>>>> >>>>> Just to add some context, the user store supports limited >>>>> functionality. They are >>>>> >>>>> In super tenant mode >>>>> - add/edit/delete user >>>>> - add/edit/delete role >>>>> - attach user to role >>>>> - attach role to user >>>>> - view users >>>>> - view roles >>>>> >>>>> >>>>> On Wed, Oct 15, 2014 at 12:22 PM, Shani Ranasinghe <sh...@wso2.com> >>>>> wrote: >>>>> >>>>>> >>>>>> Hi, >>>>>> >>>>>> Attached herewith is the CassandraUserStoreManager.java which I have >>>>>> implemented for Carbon 4.2.0. >>>>>> >>>>>> Would appreciate if I could get someone from the IS team and a >>>>>> cassandra expert to review the code. >>>>>> >>>>>> >>>>>> -- >>>>>> Thanks and Regards >>>>>> *,Shani Ranasinghe* >>>>>> Software Engineer >>>>>> WSO2 Inc.; http://wso2.com >>>>>> lean.enterprise.middleware >>>>>> >>>>>> mobile: +94 77 2273555 >>>>>> linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Thanks and Regards >>>>> *,Shani Ranasinghe* >>>>> Software Engineer >>>>> WSO2 Inc.; http://wso2.com >>>>> lean.enterprise.middleware >>>>> >>>>> mobile: +94 77 2273555 >>>>> linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab >>>>> >>>> >>>> >>>> >>>> -- >>>> Thanks and Regards >>>> *,Shani Ranasinghe* >>>> Software Engineer >>>> WSO2 Inc.; http://wso2.com >>>> lean.enterprise.middleware >>>> >>>> mobile: +94 77 2273555 >>>> linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab >>>> >>> >>> >>> >>> -- >>> Prabath Abeysekara >>> Associate Technical Lead, Data TG. >>> WSO2 Inc. >>> Email: praba...@wso2.com >>> Mobile: +94774171471 >>> >> >> >> >> -- >> Deependra Ariyadewa >> WSO2, Inc. http://wso2.com/ http://wso2.org >> >> email d...@wso2.com; cell +94 71 403 5996 ; >> Blog http://risenfall.wordpress.com/ >> PGP info: KeyID: 'DC627E6F' >> >> *WSO2 - Lean . Enterprise . Middleware* >> > > > > -- > Thanks and Regards > *,Shani Ranasinghe* > Software Engineer > WSO2 Inc.; http://wso2.com > lean.enterprise.middleware > > mobile: +94 77 2273555 > linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab > -- Thanks and Regards *,Shani Ranasinghe* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 77 2273555 linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
cassandra-userstore.tar.gz
Description: GNU Zip compressed data
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev