<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 16 December 2015 at 14:19, Marek Posolda <span dir="ltr"><<a href="mailto:mposolda@redhat.com" target="_blank">mposolda@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 15/12/15 18:26, Bill Burke wrote:<br>
> What to do with default mappers and clients and client templates?<br>
><br>
> When you create a client, it automatically adds default mappers for each<br>
> protocol. Now with client teampltes, if you create a client and specify<br>
> a client template when you create it, it will not add default mappers to<br>
> the client. Sound like right behavior?<br>
</span>IMO yes. This also adds possibility that your client will be created<br>
with some builtin mappers removed by default.<br>
<span class="">><br>
> When creating a client template, should efault mappers be added to the<br>
> temaplte automatically? Or should the user have to manually add them?<br>
</span>IMO it's better if he needs to manually add them. He can already add<br>
builtin mappers very easily if he wants to, so doesn't sound like<br>
usability issue that default mappers are not there.<br>
<span class="">><br>
> The mappers tab of a client will have a link "view template mappers"<br>
> which will bring you to the template's mapper page. You will be able to<br>
> add additional mappers to your client, but you will not be able to<br>
> override a template's mappers.<br>
><br>
> Sound cool enough?<br>
><br>
</span>I think yes.<br>
<br>
Another possibility is that on client setup, there will be list of<br>
checkboxes with mappers inherited from the parent. And all the<br>
checkboxes (mappers) will be checked by default. Admin has possibility<br>
to uncheck some inherited mappers. That adds possibility for admin to<br>
remove some inherited mappers.<br>
<br>
Is it sufficient to support just one client template for client? I guess<br>
yes, but not sure...<br></blockquote><div><br></div><div>Client templates would be useful when there's a set of standard claims that a group of clients expects in a token. Allowing individual clients to add/remove/override those standard claims makes little sense. I also don't think there's a need for a client to be able to inherit from multiple templates.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class="HOEnZb"><font color="#888888"><br>
Marek<br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
keycloak-dev mailing list<br>
<a href="mailto:keycloak-dev@lists.jboss.org">keycloak-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-dev</a><br>
</div></div></blockquote></div><br></div></div>