Great!
Here you are:
https://issues.jboss.org/browse/KEYCLOAK-2253 - Add support for
ConfiguredProvider based UserFederationProviderFactory
2016-01-04 14:26 GMT+01:00 Marek Posolda <mposolda(a)redhat.com>:
+1
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.
Marek
On 04/01/16 12:11, Thomas Darimont wrote:
Hello list and happy new year!
I'm implementing a custom
org.keycloak.models.UserFederationProviderFactory which should
be configurable via the keycloak admin console.
The possible configuration are currently specified via the "Set<String>
getConfigurationOptions()"
method of the UserFederationProviderFactory interface,
Since the "Set<String" only describes the raw option names there seems to
be no way to
specify custom labels, help texts, default options, etc.
it would be great if it were possible to configure custom keycloak
federation provider factories like
custom ConfigurableAuthenticatorFactory. For the latter one can specify a
list of configuration options
via the "List<ProviderConfigProperty> getConfigProperties()" method on
the
"org.keycloak.provider.ConfiguredProvider" interface.
"org.keycloak.provider.ProviderConfigProperty" has name, label, helptext,
type and defaultValue which is all I need.
It seems that currently
"org.keycloak.services.resources.admin.UserFederationProvidersResource.getProvider(String)"
isn't aware of the "ConfiguredProvider" interface. I guess making it aware
of ConfiguredProvider with some additional UI tweaks should do the trick.
What do you guys think?
Cheers,
Thomas
_______________________________________________
keycloak-dev mailing
listkeycloak-dev@lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/keycloak-dev