<div dir="ltr"><div>Great!</div><div><br></div><div>Here you are:</div><div><a href="https://issues.jboss.org/browse/KEYCLOAK-2253">https://issues.jboss.org/browse/KEYCLOAK-2253</a> - Add support for ConfiguredProvider based UserFederationProviderFactory<br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-01-04 14:26 GMT+01:00 Marek Posolda <span dir="ltr">&lt;<a href="mailto:mposolda@redhat.com" target="_blank">mposolda@redhat.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div>+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&#39;t time for
      refactoring yet... Feel free to create JIRA for this.<br>
      <br>
      Marek<div><div class="h5"><br>
      <br>
      On 04/01/16 12:11, Thomas Darimont wrote:<br>
    </div></div></div>
    <blockquote type="cite"><div><div class="h5">
      <div dir="ltr">
        <div>Hello list and happy new year!</div>
        <div><br>
        </div>
        <div>I&#39;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
          &quot;Set&lt;String&gt; getConfigurationOptions()&quot;</div>
        <div>method of the UserFederationProviderFactory  interface,</div>
        <div><br>
        </div>
        <div>Since the &quot;Set&lt;String&quot; 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 &quot;List&lt;ProviderConfigProperty&gt;
          getConfigProperties()&quot; method on the </div>
        <div>&quot;org.keycloak.provider.ConfiguredProvider&quot; interface.</div>
        <div><br>
        </div>
        <div>&quot;org.keycloak.provider.ProviderConfigProperty&quot; has name,
          label, helptext, type and defaultValue which is all I need.<br>
        </div>
        <div><br>
        </div>
        <div>It seems that currently
&quot;org.keycloak.services.resources.admin.UserFederationProvidersResource.getProvider(String)&quot;</div>
        <div>isn&#39;t aware of the &quot;ConfiguredProvider&quot; 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></fieldset>
      <br>
      </div></div><pre>_______________________________________________
keycloak-dev mailing list
<a href="mailto:keycloak-dev@lists.jboss.org" target="_blank">keycloak-dev@lists.jboss.org</a>
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-dev</a></pre>
    </blockquote>
    <br>
  </div>

</blockquote></div><br></div>