دالة ExternalAuthentication [SWS_DM_01193] Upstream: RS_Diag_04251, RS_AP_00170, RS_AP_00171, RS_AP_00172, RS_AP_00173
explicit ExternalAuthentication (ara::core::InstanceSpecifier instance Specifier) noexcept;
Constructs the port for authentication of diagnostic clients.
يقوم المُنشئ الصريح [SWS_DM_01193] بتهيئة مثيل لفئة المنفذ ara::diag::ExternalAuthentication [SWS_DM_01191] لمصادقة عملاء التشخيص الخارجيين (SWS Diagnostics §8.17 «Header: ara/diag/external_authentication.h»). وتتوقع الدالة كمعلمة ara::core::InstanceSpecifier، والذي يجب أن يشير إلى PortPrototype مصمم في البيان لمثيل خدمة DiagnosticExternalAuthenticationInterface [SWS_DM_01193].
تم الإعلان عن الاستدعاء المتزامن على أنه noexcept وحُدد على أنه آمن لخيوط المعالجة (thread-safe) وآمن من الاستثناءات (exception-safe) [SWS_DM_01193]. ونظرًا لعدم طرح أي استثناءات، تؤدي أخطاء النمذجة والتهيئة إلى انتهاكات محددة لإطار العمل [SWS_DM_01193]:
InstanceSpecifierMappingIntegrityViolation: لا يمكن حل المعرّف في سياق الملف التنفيذي أو أنه يشير إلى عنصر نموذج آخر غيرPortPrototype.PortInterfaceMappingViolation: الـPortPrototypeالمشار إليه ليس محدد النوع بواسطةDiagnosticExternalAuthenticationInterface.ProcessMappingViolation: لا توجد عملية تشغيل مصممة متوافقة للمرجع.InstanceSpecifierAlreadyInUseViolation: المعرّف مستخدم بالفعل بواسطة مثيل آخر في العملية الحالية.
تم حظر عمليات النسخ صراحةً لـ ExternalAuthentication [SWS_DM_01196] [SWS_DM_01197]، في حين يتم دعم عمليات النقل [SWS_DM_01194] [SWS_DM_01195]. وعلى عكس المُنشئ، فإن المُدمّر المرتبط به ليس آمنًا لخيوط المعالجة [SWS_DM_01198]. وبعد نجاح إنشاء المثيل، يُستخدم الكائن للاستعلام عن مثيلات مصادقة العميل المرتبطة عبر طرق مثل Get أو GetAll [SWS_DM_01201] [SWS_DM_01202].
تم إنشاء ملاحظة الاستخدام هذه آليًا استنادًا إلى مواصفة AUTOSAR.
دليل المنفِّذ قيد الإعداد (التعقيد I2)
| Header-Datei | #include "ara/diag/external_authentication.h" |
|---|---|
| Scope | class ara::diag::ExternalAuthentication |
| Exception-Sicherheit | exception safe |
| Thread-Sicherheit | thread-safe |
| Verletzungen (Violations) | InstanceSpeci- InstanceSpecifier either cannot be resolved in the model in the fierMappingIn- context of your executable, or it refers to a model element other tegrityViolation than a PortPrototype. PortInterfaceMap- A PortPrototype that is referenced by a pingViolation DiagnosticExternalAuthenticationPortMapping needs to be typed by a DiagnosticExternalAuthenticationInterface. ProcessMappingVio- Matching InstanceRef exists, but no matching (modelled) Process lation found that matches the (runtime) process. InstanceSpecifier- Violation message that is sent in case a constructor in the ara AlreadyInUseViola- framework was called with an InstanceSpecifier already in use in tion this process. |
Parameter (in)
| Parameter | Beschreibung |
|---|---|
| instanceSpecifier | InstanceSpecifier to a PortPrototype of a DiagnosticExternalAuthenticationInterface service instance in the manifest. |
Request a governed re-review of this record. The record is not changed immediately.
- Record
AUTOSAR/AP/record/SWS_DM_01193- Status
- valid/unmigrated
- Version
AUTOSAR/AP/record/SWS_DM_01193@rel:R25-11#87107c45- Content hash
87107c45- Source
- https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01193
Status: valid/unmigrated
Version: rel:R25-11#99c49ac2
Versionshistorie & Revisions (1 transition, 6 revision)
- Current State
valid/unmigrated- Reason
- mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
- Campaign
2026-08-13-status-backfill- Active Version
AUTOSAR/AP/record/SWS_DM_01193@rel:R25-11#99c49ac2
Recorded Revisions (6):
- R25-11
rel:R25-11#3d7cf4e12026-09-30 - R21-11
rel:R21-11#8a71f7dd2026-10-14 - R22-11
rel:R22-11#62844c072026-10-14 - R23-11
rel:R23-11#447ba5db2026-10-14 - R24-11
rel:R24-11#4fb764692026-10-14 - R25-11
rel:R25-11#99c49ac22026-10-14 active
Requirement Text as-of this release:
Curation Decisions:
Reachable Artifacts & Dependents:
| Date | Actor | Transition | Reason / Rationale | Campaign |
|---|---|---|---|---|
| 2026-08-13 | tool | none → valid/unmigrated | mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record | 2026-08-13-status-backfill |
gemini-3.8-flash-low· 2026-10-13 · الأصل الألماني