<div dir="ltr">Infact, not only Boolean, it does not seem to work for even properties that are STRING_TYPE. I was using 1.9.4 version earlier but now I tried with the latest 2.0.0 version too and it does not work on either. What is the issue?</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 19, 2016 at 7:00 AM, Rashmi Singh <span dir="ltr">&lt;<a href="mailto:singhrasster@gmail.com" target="_blank">singhrasster@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Bruno, I had tried &quot;true&quot; also but that did not work either. Forgot to mention in my original post. I am not sure why true or &quot;true&quot; doesn&#39;t work if that&#39;s expected. Is there a bug? Does anyone have a clue on this?</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 19, 2016 at 4:13 AM, Bruno Oliveira <span dir="ltr">&lt;<a href="mailto:bruno@abstractj.org" target="_blank">bruno@abstractj.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Rashmi, try &quot;true&quot; instead of true. Take a look at this: <a href="https://github.com/keycloak/keycloak/blob/f6a718f10a3a3a07a6222bea7d8b58e13712479c/testsuite/integration-arquillian/servers/auth-server/services/testsuite-providers/src/main/java/org/keycloak/testsuite/federation/DummyConfigurableUserFederationProviderFactory.java#L53-L58" rel="noreferrer" target="_blank">https://github.com/keycloak/keycloak/blob/f6a718f10a3a3a07a6222bea7d8b58e13712479c/testsuite/integration-arquillian/servers/auth-server/services/testsuite-providers/src/main/java/org/keycloak/testsuite/federation/DummyConfigurableUserFederationProviderFactory.java#L53-L58</a><br>
<br>
In theory, should work.<br>
<div><div><br>
On 2016-07-18, Rashmi Singh wrote:<br>
&gt; In my AuthenticatorFactory class, I have the following configuration added:<br>
&gt;<br>
&gt;  ProviderConfigProperty property;<br>
&gt;         property= new ProviderConfigProperty();<br>
&gt;         property.setName(&quot;propname&quot;);<br>
&gt;         property.setLabel(&quot;Property Name&quot;);<br>
&gt;         property.setDefaultValue(true);<br>
&gt;         property.setType(ProviderConfigProperty.BOOLEAN_TYPE);<br>
&gt;         configProperties.add(identityFirstproperty);<br>
&gt;<br>
&gt; I wanted to keep a default value as true and at first it seemed like the<br>
&gt; following line would do it:<br>
&gt;<br>
&gt;  property.setDefaultValue(true);<br>
&gt;<br>
&gt; But that does not seem to work. The default is still false. How can I set<br>
&gt; the default to true?<br>
<br>
</div></div>&gt; _______________________________________________<br>
&gt; keycloak-dev mailing list<br>
&gt; <a href="mailto:keycloak-dev@lists.jboss.org" target="_blank">keycloak-dev@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/keycloak-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-dev</a><br>
<br>
<br>
--<br>
<br>
abstractj<br>
PGP: 0x84DC9914<br>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>