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?