[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wsf-c-dev
Subject:    Re: [Dev] [IS] Configuring two user store managers (Secondary user store)
From:       Godwin Shrimal <godwin () wso2 ! com>
Date:       2018-03-30 19:42:14
Message-ID: CAATS0_CV_i8PrQjFSZ=SQShQ-r66pH9zhKRHS1aUHE_gjLMkig () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi Malithi,

Thanks for your response. I understand the limitation with dep-sync,
multi-tenancy etc and I agree it should be configured as how they are
defined to be configured. What I wanted to clarify is, are there any
runtime issues by configuring such a way. I hope there is nothing.


Thanks
Godwin

On Thu, Mar 29, 2018 at 8:34 PM, Malithi Edirisinghe <malithim@wso2.com>
wrote:

> Hi Godwin,
>
> A user store added to userstore/ path will be synched across nodes and
> deploys in runtime.
> The other advantage is, with that model you can configure user stores per
> tenant.
>
> Adding the user store in user-mgt.xml needs server restart and is a server
> wide config.
>
> IMO, secondary user stores should be configured as how they are defined to
> be configured. For some testing purposes it is ok to user user-mgt.xml but
> in production environments this should be discouraged.
>
> Thanks,
> Malithi.
>
>
> On Fri, Mar 30, 2018 at 1:55 AM, Godwin Shrimal <godwin@wso2.com> wrote:
>
>> Hi IAM Folks,
>>
>> We usually add secondary user store via user stores. But I have seen some
>> are adding secondary user store in user-mgt.xml. Basically adding both
>> primary and secondary user store managers in user-mgt.xml. What is the
>> exact problem of defining such a way?
>>
>> Thanks
>> Godwin
>> --
>> *Godwin Amila Shrimal*
>> Associate Technical Lead
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> mobile: *+94772264165*
>> linkedin: *https://www.linkedin.com/in/godwin-amila-2ba26844/
>> <https://www.linkedin.com/in/godwin-amila-2ba26844/>*
>> twitter: https://twitter.com/godwinamila
>> <http://wso2.com/signature>
>>
>
>
>
> --
>
> *Malithi Edirisinghe*
> Associate Technical Lead
> WSO2 Inc.
>
> Mobile : +94 (0) 718176807
> malithim@wso2.com
>



-- 
*Godwin Amila Shrimal*
Associate Technical Lead
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: *+94772264165*
linkedin: *https://www.linkedin.com/in/godwin-amila-2ba26844/
<https://www.linkedin.com/in/godwin-amila-2ba26844/>*
twitter: https://twitter.com/godwinamila
<http://wso2.com/signature>

[Attachment #5 (text/html)]

<div dir="ltr"><div><div><div>Hi Malithi,<br><br></div>Thanks for your response. I \
understand the limitation with dep-sync, multi-tenancy etc and I agree it should be \
configured as how they are defined to be configured. What I wanted to clarify is, are \
there any runtime issues by configuring such a way. I hope there is nothing. \
<br><br><br></div>Thanks<br></div>Godwin<br></div><div class="gmail_extra"><br><div \
class="gmail_quote">On Thu, Mar 29, 2018 at 8:34 PM, Malithi Edirisinghe <span \
dir="ltr">&lt;<a href="mailto:malithim@wso2.com" \
target="_blank">malithim@wso2.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr"><div>Hi Godwin,</div><div><br></div>A user \
store added to userstore/ path will be synched across nodes and deploys in runtime.  \
<div>The other advantage is, with that model you can configure user stores per \
tenant.</div><div><br></div><div>Adding the user store in user-mgt.xml needs server \
restart and is a server wide config.</div><div><br></div><div>IMO, secondary user \
stores should be configured as how they are defined to be configured. For some \
testing purposes it is ok to user user-mgt.xml but in production environments this \
should be discouraged.</div><div><br></div><div>Thanks,</div><div>Malithi.</div><div><br></div></div><div \
class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Fri, Mar 30, \
2018 at 1:55 AM, Godwin Shrimal <span dir="ltr">&lt;<a href="mailto:godwin@wso2.com" \
target="_blank">godwin@wso2.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr">Hi IAM Folks,<br clear="all"><div><br>We \
usually add secondary user store via user stores. But I have seen some are adding \
secondary user store in user-mgt.xml. Basically adding both primary and secondary \
user store managers in user-mgt.xml. What is the exact problem of defining such a \
way? <br><br></div><div>Thanks<span class="m_-6639805888374195182HOEnZb"><font \
color="#888888"><br></font></span></div><span \
class="m_-6639805888374195182HOEnZb"><font \
color="#888888"><div>Godwin<br></div><div>-- <br><div \
class="m_-6639805888374195182m_-2915353039571697749gmail_signature" \
data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div \
dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div \
dir="ltr"><div><div dir="ltr"><span><font style="color:rgb(136,136,136)" \
color="#888888"><b>Godwin Amila Shrimal</b></font></span><br><span><span><font \
color="#888888"><span><div><span><font color="#888888"><span \
style="color:rgb(136,136,136)">Associate Technical \
Lead</span></font></span></div></span></font></span><font color="#888888">WSO2 Inc.;  \
</font><a href="http://wso2.com/" style="color:rgb(17,85,204)" \
target="_blank">http://wso2.com</a><br><font color="#888888"> \
lean.enterprise.middleware</font><br><br><font style="color:rgb(136,136,136)" \
color="#888888">mobile:</font><font style="color:rgb(136,136,136)" color="#3d85c6">  \
<u><a value="+94711336956">+94772264165</a></u></font><div \
style="color:rgb(136,136,136)"><font color="#888888">linkedin:  </font><font \
face="arial, sans-serif" color="#3d85c6"><span style="line-height:15px"><u><a \
href="https://www.linkedin.com/in/godwin-amila-2ba26844/" \
target="_blank">https://www.linkedin<wbr>.com/in/godwin-amila-2ba26844/</a></u></span></font></div></span><span><div><span \
style="color:rgb(136,136,136)">twitter:  </span><font color="#3d85c6"><span \
style="line-height:15px"><a href="https://twitter.com/godwinamila" \
target="_blank">https://twitter.com/g<wbr>odwinamila</a><br><a \
href="http://wso2.com/signature" target="_blank"><img alt="" \
src="http://c.content.wso2.com/signatures/wso2-signature-general.png" width="200" \
height="45"></a><br></span></font></div></span></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
 </div></font></span></div>
</blockquote></div><br><br clear="all"><div><br></div></div></div>-- <br><div \
class="m_-6639805888374195182gmail_signature" data-smartmail="gmail_signature"><div \
dir="ltr"><div><div dir="ltr"><span><font color="#888888"><div><div><br><b>Malithi \
Edirisinghe</b><br></div><div dir="ltr"><span class=""><div><span><font \
color="#888888"><span style="color:rgb(136,136,136)">Associate Technical \
Lead</span></font></span></div><div><span><font color="#888888"><span \
style="color:rgb(136,136,136)">WSO2 \
Inc.</span></font></span><br><br></div></span><div>Mobile : +94 (0) <font \
color="#888888">718176807</font><br></div> <div><a href="mailto:malithim@wso2.com" \
target="_blank">malithim@wso2.com</a></div></div></div> \
</font></span></div></div></div></div> </div>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" \
data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div \
dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div \
dir="ltr"><div><div dir="ltr"><span><font style="color:rgb(136,136,136)" \
color="#888888"><b>Godwin Amila Shrimal</b></font></span><br><span><span><font \
color="#888888"><span><div><span><font color="#888888"><span \
style="color:rgb(136,136,136)">Associate Technical \
Lead</span></font></span></div></span></font></span><font color="#888888">WSO2 Inc.;  \
</font><a href="http://wso2.com/" style="color:rgb(17,85,204)" \
target="_blank">http://wso2.com</a><br><font color="#888888"> \
lean.enterprise.middleware</font><br><br><font style="color:rgb(136,136,136)" \
color="#888888">mobile:</font><font style="color:rgb(136,136,136)" color="#3d85c6">  \
<u><a value="+94711336956">+94772264165</a></u></font><div \
style="color:rgb(136,136,136)"><font color="#888888">linkedin:  </font><font \
face="arial, sans-serif" color="#3d85c6"><span style="line-height:15px"><u><a \
href="https://www.linkedin.com/in/godwin-amila-2ba26844/" \
target="_blank">https://www.linkedin.com/in/godwin-amila-2ba26844/</a></u></span></font></div></span><span><div><span \
style="color:rgb(136,136,136)">twitter:  </span><font color="#3d85c6"><span \
style="line-height:15px"><a href="https://twitter.com/godwinamila" \
target="_blank">https://twitter.com/godwinamila</a><br><a \
href="http://wso2.com/signature" target="_blank"><img alt="" \
src="http://c.content.wso2.com/signatures/wso2-signature-general.png" width="200" \
height="45"></a><br></span></font></div></span></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
 </div>



_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic