[keycloak-dev] Dynamically compute LIST values in ProviderConfigProperty

Bill Burke bburke at redhat.com
Thu May 28 07:04:01 EDT 2015



On 5/28/2015 6:37 AM, Marek Posolda wrote:
> On 27.5.2015 16:23, Bill Burke wrote:
>> I was thinking that we'd just add new types beyond STRING, BOOLEAN, LIST
>> etc.  Just add a ROLE_LIST and CLIENT_LIST ProviderConfigProperty type,
>> the admin console would see that type, and just display an appropriate
>> UI for selecting that type.  Down the line we couldadd types like
>> CERTIFICATE_LIST, USER_SEARCH, etc...
>>
>> I don't think a getConfigProperties(RealmModel) is needed.  The admin
>> console already knows the current realm and it can itself query for the
>> ROLE/Client list to display to choose from.
>>
>> Following me?
> Yes, looks like even better option. I've added CLIENT_LIST for now as
> that's needed in Role LDAP mapper.
>

I wonder if these input fragments could be encapsulated in a directive? 
  Right now its just a big ng-show, ng-hide blob of goop.

Bill

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


More information about the keycloak-dev mailing list