Re: [Dev] Difference between primary and secondary use stores

2018-03-15 Thread Randy Adams
Hi Lahiru,

Thank you very much for the detailed clarification.

Regards,
Randy

On Thu, Mar 15, 2018 at 1:52 AM, Lahiru Sandaruwan  wrote:

> Hi Randy,
>
> Please find the answers inline,
>
> On Wed, Mar 14, 2018 at 9:45 PM, Randy Adams 
> wrote:
>
>> Hi devs,
>>
>> I have some confusion on user store types in wso2 products. Please give
>> some assistance.
>>
>> What is the difference between primary and secondary user stores in wso2
>> products?
>>
>
> ​Primary userstore​
>
> WSO2 products must have at least one user store. This is the main user
> store and it is shared among all the tenants. Please find the more info
> from [1]. If you want to learn about tenancy in WSO2 products, read [2]
> Also, admin user of the super tenant(default tenent of WSO2 products),
> which is defined in [WSO2_Product_Home]/repository/conf/user-mgt.xml will
> reside in primary userstore.
> Read more about system administrator user at [3].
> From [1],
> "This is the main user store that is shared among all the tenants in the
> system. Only one user store should be configured as the primary user store"
>
> Secondary userstores
>
> Secondary user stores are helpful when your organization has different
> sources of users due to departments, company mergers/ acquisitions etc. So
> if you have different tenants, you mount the secondary user stores for each
> tenant separately.
> Find more details from [1]. Following quote is copied from there for your
> reference.
> "Any number of secondary user stores can be easily set up for your system
> and these user stores are specific to the created tenant, and they are not
> shared among multiple tenants."
>
>
>> What is the exact requirement to have two different types of user stores
>> as this? Why isn't it just "user stores" generally?
>>
>
> Primary needs to be identified separately for above said functionalities.
> ​
>
>> What are the different tasks done by these two categories?
>>
>
> ​Both types have all the functionalities other than above said
> differences. I have included IAM team to add to the details provided
>
> [1] https://docs.wso2.com/display/IS541/Configuring+User+Stores
> [2] https://docs.wso2.com/display/IS541/Creating+and+Managing+Tenants
> [3] https://docs.wso2.com/display/IS541/Configuring+the+Syst
> em+Administrator
>
> ​Thanks.​
>
>>
>> Regards,
>> Randy
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> --
>
> Lahiru Sandaruwan
> WSO2 Inc., http://wso2.com
>
> lean.enterprise.middleware
>
> m: +1 901 530 2379 <+1%20901-530-2379>
> e: lahi...@wso2.com b: https://medium.com/@lahirugmg
> in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Difference between primary and secondary use stores

2018-03-14 Thread Lahiru Sandaruwan
Hi Randy,

Please find the answers inline,

On Wed, Mar 14, 2018 at 9:45 PM, Randy Adams 
wrote:

> Hi devs,
>
> I have some confusion on user store types in wso2 products. Please give
> some assistance.
>
> What is the difference between primary and secondary user stores in wso2
> products?
>

​Primary userstore​

WSO2 products must have at least one user store. This is the main user
store and it is shared among all the tenants. Please find the more info
from [1]. If you want to learn about tenancy in WSO2 products, read [2]
Also, admin user of the super tenant(default tenent of WSO2 products),
which is defined in [WSO2_Product_Home]/repository/conf/user-mgt.xml will
reside in primary userstore.
Read more about system administrator user at [3].
>From [1],
"This is the main user store that is shared among all the tenants in the
system. Only one user store should be configured as the primary user store"

Secondary userstores

Secondary user stores are helpful when your organization has different
sources of users due to departments, company mergers/ acquisitions etc. So
if you have different tenants, you mount the secondary user stores for each
tenant separately.
Find more details from [1]. Following quote is copied from there for your
reference.
"Any number of secondary user stores can be easily set up for your system
and these user stores are specific to the created tenant, and they are not
shared among multiple tenants."


> What is the exact requirement to have two different types of user stores
> as this? Why isn't it just "user stores" generally?
>

Primary needs to be identified separately for above said functionalities.
​

> What are the different tasks done by these two categories?
>

​Both types have all the functionalities other than above said differences.
I have included IAM team to add to the details provided

[1] https://docs.wso2.com/display/IS541/Configuring+User+Stores
[2] https://docs.wso2.com/display/IS541/Creating+and+Managing+Tenants
[3] https://docs.wso2.com/display/IS541/Configuring+the+System+Administrator

​Thanks.​

>
> Regards,
> Randy
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
--

Lahiru Sandaruwan
WSO2 Inc., http://wso2.com

lean.enterprise.middleware

m: +1 901 530 2379 <+1%20901-530-2379>
e: lahi...@wso2.com b: https://medium.com/@lahirugmg
in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Difference between primary and secondary use stores

2018-03-14 Thread Randy Adams
Hi devs,

I have some confusion on user store types in wso2 products. Please give
some assistance.

What is the difference between primary and secondary user stores in wso2
products?
What is the exact requirement to have two different types of user stores as
this? Why isn't it just "user stores" generally?
What are the different tasks done by these two categories?

Regards,
Randy
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev