Right now, you're going to have to modify app.js, I can refactor app.js so you don't have to modify it, but, you'll have to wait until next release to get these changes.

Unfortunately, the UserFederationProvider only supports name/value pairs for configuration and a max size for Value of 255 characters.  I can expand the SPI to allow you to plug ina  backend REST service that would allow you to parse the file and add the appropriate config, but at this time, we can't really provide a brand new config model for UserFederation as this is supposed to be feature freeze right now.

On 1/12/2016 5:56 PM, Josh Cain wrote:
Hi all,

I've got a UserFederationProvider that needs 6-8 configuration elements, to include enumerated types and even a couple of files.  I'd like to keep the configuration of this provider in the Keycloak admin console, but am not sure how to do so.

I've read through the themes documentation, but I have not been able to find a suitable solution.  I thought of just dropping a new partial in there to handle more straightforward configuration items like enumerated types, but couldn't find a way to do so without having to override the entire app.js.  What's more, I was not certain if Keycloak was already set up to handle something like a File object in the REST/DB backend.

I suppose my question boils down to "How can I integrate enumerated and file type configuration options for my UserFederationProvider into the Keycloak administration system?"  Any help would be much appreciated - thanks!

Josh Cain | Software Applications Engineer
Identity and Access Management
Red Hat
+1 843-737-1735


_______________________________________________
keycloak-dev mailing list
keycloak-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-dev

-- 
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com