public LdapAuthenticationResourceDefinition() {
   super(
       PathElement.pathElement(
           ModelDescriptionConstants.AUTHENTICATION, ModelDescriptionConstants.LDAP),
       ControllerResolver.getDeprecatedResolver(
           SecurityRealmResourceDefinition.DEPRECATED_PARENT_CATEGORY,
           "core.management.security-realm.authentication.ldap"),
       new LdapAuthenticationAddHandler(),
       new SecurityRealmChildRemoveHandler(true),
       OperationEntry.Flag.RESTART_RESOURCE_SERVICES,
       OperationEntry.Flag.RESTART_RESOURCE_SERVICES);
   setDeprecated(ModelVersion.create(1, 7));
 }