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

List:       esb-java-dev
Subject:    Re: [Dev] IS 5.10.0 Unique user identifier across the system
From:       gayan gunawardana <gmgunawardana () gmail ! com>
Date:       2020-04-10 2:54:41
Message-ID: CAGd=jRnZ_p1u4DBZ3w=+i7i7LgrKs8YiZ78S1rv7XxRemCiJTA () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/related)]

[Attachment #4 (multipart/alternative)]


Hi Ashen,

Wonderful news. I will try some SCIM 2.0 operations to get it done.

Thanks,
Gayan

On Thu, Apr 9, 2020 at 5:41 PM Ashen Weerathunga <ashen@wso2.com> wrote:

> Hi Gayan,
> 
> We have followed a similar approach that we had earlier in the user core.
> So we have introduced a new set of user store managers with the capability
> to work with UUIDs along with the new user store manager interface as below,
> 
> [image: Screenshot 2019-12-06 at 00.20.56.png]
> 
> If you want to use the new APIs, you can use the new user store managers
> to connect the user stores in the system. Please see the new user store
> manager interface that we have introduced with the new set of APIs to work
> with the unique user identifiers of the users from here [1].
> 
> We have also migrated the SCIM 2.0 implementation to work with new user
> core APIs from the 5.10.0 onwards.
> 
> [1]
> https://github.com/wso2/carbon-kernel/blob/4.6.x/core/org.wso2.carbon.user.core/src/main/java/org/wso2/carbon/user/core/UniqueIDUserStoreManager.java
>  
> Thanks,
> Ashen
> 
> On Thu, Apr 9, 2020 at 3:17 PM gayan gunawardana <gmgunawardana@gmail.com>
> wrote:
> 
> > Hi Ashen,
> > 
> > Thanks a lot for comprehensive answer which is very clear and
> > understandable. However I am wondering if there is any extension point
> > available to build custom REST service by consuming new user core
> > implementation.
> > 
> > Thanks,
> > Gayan
> > 
> > On Thu, Apr 9, 2020 at 2:49 PM Ashen Weerathunga <ashen@wso2.com> wrote:
> > 
> > > Hi Gayan,
> > > 
> > > From 5.10.0 onwards we have introduced a new unique user identifier in
> > > the user core level with a new set of APIs. Therefore the username is not
> > > immutable at the user core level now. But we have not implemented username
> > > renaming capability yet as we still consuming old user core APIs and use
> > > the username as the user identifier in the other components such as
> > > OAuth/identity framework etc.
> > > 
> > > Therefore we need to migrate other components and use the uniqueID as
> > > the user identifier everywhere in the system. Then only we can provide the
> > > username renaming capability. So we will provide these capabilities in
> > > future releases.
> > > 
> > > Thanks,
> > > Ashen
> > > 
> > > On Tue, Apr 7, 2020 at 9:46 PM gayan gunawardana <
> > > gmgunawardana@gmail.com> wrote:
> > > 
> > > > Hi Team,
> > > > 
> > > > As per [1] it looks like username attribute is not immutable any more
> > > > with new unique user identifier implementation.
> > > > Are there any SCIM or RemoteUserStoreManagerServce Apis available to
> > > > alter username ?
> > > > 
> > > > [1] https://github.com/wso2/product-is/releases/tag/v5.10.0-rc2
> > > > 
> > > > --
> > > > Gayan
> > > > _______________________________________________
> > > > Dev mailing list
> > > > Dev@wso2.org
> > > > http://wso2.org/cgi-bin/mailman/listinfo/dev
> > > > 
> > > 
> > > 
> > > --
> > > Ashen Weerathunga | Senior Software Engineer | WSO2 Inc.
> > > (m) +94716042995 | (w) +94112145345 | Email: ashen@wso2.com
> > > <http://wso2.com/signature>
> > > 
> > > 
> > > 
> > 
> > --
> > Gayan
> > 
> 
> 
> --
> Ashen Weerathunga | Senior Software Engineer | WSO2 Inc.
> (m) +94716042995 | (w) +94112145345 | Email: ashen@wso2.com
> <http://wso2.com/signature>
> 
> 
> 

-- 
Gayan


[Attachment #7 (text/html)]

<div dir="ltr">Hi Ashen,<div><br></div><div>Wonderful news. I will try some SCIM 2.0 \
operations to get it \
done.</div><div><br></div><div>Thanks,</div><div>Gayan</div></div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Apr 9, 2020 at 5:41 PM \
Ashen Weerathunga &lt;<a href="mailto:ashen@wso2.com">ashen@wso2.com</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi \
Gayan,<div><br></div><div>We have followed  a similar  approach  that we had earlier  \
in the user core. So we have introduced a new set of user store managers with the \
capability to work with UUIDs along with the new user  store manager interface as \
below,</div><div><br></div><div><div><img src="cid:ii_k8spmhj50" alt="Screenshot \
2019-12-06 at 00.20.56.png" width="562" \
height="462"><br></div></div><div><br></div><div><div>If you want to use the new \
APIs, you can use the new user store  managers to connect the user stores in the \
system. Please see the new user store manager interface that we have introduced with \
the new set of APIs to work with the unique user identifiers  of the users from here \
[1].</div><div><br></div><div>We have  also migrated the SCIM 2.0 implementation to \
work with new user core APIs from the 5.10.0  onwards.</div><div><br></div><div>[1]  \
<a href="https://github.com/wso2/carbon-kernel/blob/4.6.x/core/org.wso2.carbon.user.core/src/main/java/org/wso2/carbon/user/core/UniqueIDUserStoreManager.java" \
target="_blank">https://github.com/wso2/carbon-kernel/blob/4.6.x/core/org.wso2.carbon. \
user.core/src/main/java/org/wso2/carbon/user/core/UniqueIDUserStoreManager.java</a></div><div><br></div></div><div>Thanks,</div><div>Ashen</div></div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Apr 9, 2020 at 3:17 PM \
gayan gunawardana &lt;<a href="mailto:gmgunawardana@gmail.com" \
target="_blank">gmgunawardana@gmail.com</a>&gt; wrote:<br></div><blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Ashen,<div><br></div><div>Thanks \
a lot for comprehensive answer which is very clear and understandable. However I am \
wondering if there is any extension point available to build custom REST service by \
consuming new user core \
implementation.</div><div><br></div><div>Thanks,</div><div>Gayan</div></div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Apr 9, 2020 at 2:49 PM \
Ashen Weerathunga &lt;<a href="mailto:ashen@wso2.com" \
target="_blank">ashen@wso2.com</a>&gt; wrote:<br></div><blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi \
Gayan,<div><br></div><div>From 5.10.0 onwards we have introduced a new unique user \
identifier in the user core level with a new set of APIs. Therefore the username is \
not immutable at the user core level now. But we have not implemented username \
renaming capability yet as we still consuming old user core APIs and use the username \
as the user identifier in the other components such as OAuth/identity framework \
etc.</div><div><br></div><div>Therefore  we need to migrate other components and use \
the uniqueID as the user identifier everywhere in the system. Then only we can \
provide the username renaming capability. So we will provide these capabilities in \
future releases.<br></div><div><br></div><div>Thanks,</div><div>Ashen</div></div></div></div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Apr 7, 2020 at 9:46 PM \
gayan gunawardana &lt;<a href="mailto:gmgunawardana@gmail.com" \
target="_blank">gmgunawardana@gmail.com</a>&gt; wrote:<br></div><blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Team,<div><br></div><div>As per \
[1] it looks like username attribute is not immutable any more with new  <font \
color="#24292e" face="-apple-system, system-ui, Segoe UI, Helvetica, Arial, \
sans-serif, Apple Color Emoji, Segoe UI Emoji">unique user identifier implementation. \
</font></div><div><font color="#24292e" face="-apple-system, system-ui, Segoe UI, \
Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji">Are there any SCIM \
or RemoteUserStoreManagerServce Apis available to alter username \
?<br></font><div><br></div><div>[1]  <a \
href="https://github.com/wso2/product-is/releases/tag/v5.10.0-rc2" \
target="_blank">https://github.com/wso2/product-is/releases/tag/v5.10.0-rc2</a><br \
clear="all"><div><br></div>-- <br><div dir="ltr">Gayan</div></div></div></div> \
_______________________________________________<br> Dev mailing list<br>
<a href="mailto:Dev@wso2.org" target="_blank">Dev@wso2.org</a><br>
<a href="http://wso2.org/cgi-bin/mailman/listinfo/dev" rel="noreferrer" \
target="_blank">http://wso2.org/cgi-bin/mailman/listinfo/dev</a><br> \
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div \
dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div \
dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div \
dir="ltr"><div><font color="#888888">Ashen Weerathunga  | Senior Software Engineer  | \
WSO2 Inc.</font><div style="color:rgb(136,136,136)">(m)  +94716042995 | (w) \
+94112145345 |  <span>Email</span>:  <a href="mailto:ashen@wso2.com" \
style="color:rgb(17,85,204);font-size:12.8px" \
target="_blank">ashen@wso2.com</a></div></div></div><div dir="ltr"><font \
face="georgia, serif" style="color:rgb(136,136,136);font-size:12.8px"><font \
color="#3d85c6"><div dir="ltr"><a href="http://wso2.com/signature" \
style="font-size:12.8px" target="_blank"><img \
src="http://c.content.wso2.com/signatures/wso2-signature-general.png" width="420" \
height="74"></a><br></div></font></font></div><div dir="ltr"><font face="georgia, \
serif" style="color:rgb(136,136,136);font-size:12.8px"><font \
color="#3d85c6"><br><br></font></font></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
 </blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr">Gayan</div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div \
dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div \
dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div \
dir="ltr"><div><font color="#888888">Ashen Weerathunga  | Senior Software Engineer  | \
WSO2 Inc.</font><div style="color:rgb(136,136,136)">(m)  +94716042995 | (w) \
+94112145345 |  <span>Email</span>:  <a href="mailto:ashen@wso2.com" \
style="color:rgb(17,85,204);font-size:12.8px" \
target="_blank">ashen@wso2.com</a></div></div></div><div dir="ltr"><font \
face="georgia, serif" style="color:rgb(136,136,136);font-size:12.8px"><font \
color="#3d85c6"><div dir="ltr"><a href="http://wso2.com/signature" \
style="font-size:12.8px" target="_blank"><img \
src="http://c.content.wso2.com/signatures/wso2-signature-general.png" width="420" \
height="74"></a><br></div></font></font></div><div dir="ltr"><font face="georgia, \
serif" style="color:rgb(136,136,136);font-size:12.8px"><font \
color="#3d85c6"><br><br></font></font></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
 </blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" \
class="gmail_signature">Gayan</div>

--000000000000c76df505a2e6d919--


["Screenshot 2019-12-06 at 00.20.56.png" (image/png)]

_______________________________________________
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