def authenticator=(authenticator)
      validator = EnumAttributeValidator.new('String', ["local", "ldap"])
      unless validator.valid?(authenticator)
        fail ArgumentError, "invalid value for 'authenticator', must be one of #{validator.allowable_values}."
      end
      @authenticator = authenticator
    end
def authenticator=(authenticator)
      validator = EnumAttributeValidator.new('String', ["local", "ldap"])
      unless validator.valid?(authenticator)
        fail ArgumentError, "invalid value for 'authenticator', must be one of #{validator.allowable_values}."
      end
      @authenticator = authenticator
    end
Custom attribute writer method checking allowed values (enum).
 @param [Object] authenticator Object to be assigned