Hi Rashmi, try "true" instead of true. Take a look at this: 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
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
> keycloak-dev@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-dev
--
abstractj
PGP: 0x84DC9914