Bruno, I had tried "true" also but that did not work either. Forgot to mention in my original post. I am not sure why true or "true" doesn't work if that's expected. Is there a bug? Does anyone have a clue on this?

On Tue, Jul 19, 2016 at 4:13 AM, Bruno Oliveira <> wrote:
Hi Rashmi, try "true" instead of true. Take a look at this:

In theory, should work.

On 2016-07-18, Rashmi Singh wrote:
> In my AuthenticatorFactory class, I have the following configuration added:
>  ProviderConfigProperty property;
>         property= new ProviderConfigProperty();
>         property.setName("propname");
>         property.setLabel("Property Name");
>         property.setDefaultValue(true);
>         property.setType(ProviderConfigProperty.BOOLEAN_TYPE);
>         configProperties.add(identityFirstproperty);
> I wanted to keep a default value as true and at first it seemed like the
> following line would do it:
>  property.setDefaultValue(true);
> But that does not seem to work. The default is still false. How can I set
> the default to true?

> _______________________________________________
> keycloak-dev mailing list


PGP: 0x84DC9914