<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">+1<br>
<br>
I think the only reason why UserFederationProvider is not using
ConfiguredProvider is, that ConfiguredProvider was introduced
later than UserFederationProvier and there wasn't time for
refactoring yet... Feel free to create JIRA for this.<br>
<br>
Marek<br>
<br>
On 04/01/16 12:11, Thomas Darimont wrote:<br>
</div>
<blockquote
cite="mid:CAK-7U1gjswcu7CTbnA8g7+5gp0UcX45G=vZMFX=nuiqYJmMvSQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>Hello list and happy new year!</div>
<div><br>
</div>
<div>I'm implementing a custom
org.keycloak.models.UserFederationProviderFactory which should</div>
<div>be configurable via the keycloak admin console.</div>
<div><br>
</div>
<div>The possible configuration are currently specified via the
"Set<String> getConfigurationOptions()"</div>
<div>method of the UserFederationProviderFactory interface,</div>
<div><br>
</div>
<div>Since the "Set<String" only describes the raw option
names there seems to be no way to </div>
<div>specify custom labels, help texts, default options, etc.</div>
<div><br>
</div>
<div>it would be great if it were possible to configure custom
keycloak federation provider factories like </div>
<div>custom ConfigurableAuthenticatorFactory. For the latter one
can specify a list of configuration options</div>
<div>via the "List<ProviderConfigProperty>
getConfigProperties()" method on the </div>
<div>"org.keycloak.provider.ConfiguredProvider" interface.</div>
<div><br>
</div>
<div>"org.keycloak.provider.ProviderConfigProperty" has name,
label, helptext, type and defaultValue which is all I need.<br>
</div>
<div><br>
</div>
<div>It seems that currently
"org.keycloak.services.resources.admin.UserFederationProvidersResource.getProvider(String)"</div>
<div>isn't aware of the "ConfiguredProvider" interface. I guess
making it aware of ConfiguredProvider with some additional UI
tweaks should do the trick.</div>
<div><br>
</div>
<div>What do you guys think?</div>
<div><br>
</div>
<div>Cheers,</div>
<div>Thomas</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
keycloak-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:keycloak-dev@lists.jboss.org">keycloak-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/keycloak-dev">https://lists.jboss.org/mailman/listinfo/keycloak-dev</a></pre>
</blockquote>
<br>
</body>
</html>