फ़ंक्शन 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 की अपेक्षा करता है, जिसे मैनिफ़ेस्ट में मॉडल किए गए किसी DiagnosticExternalAuthenticationInterface सर्विस इंस्टेंस के PortPrototype को संदर्भित करना चाहिए [SWS_DM_01193]।
सिंक्रोनस कॉल को noexcept के रूप में घोषित किया गया है और थ्रेड-सुरक्षित तथा अपवाद-सुरक्षित दोनों निर्दिष्ट किया गया है [SWS_DM_01193]। चूंकि कोई अपवाद नहीं फेंके जाते हैं, मॉडलिंग और कॉन्फ़िगरेशन त्रुटियों के कारण फ्रेमवर्क के परिभाषित उल्लंघन (violations) होते हैं [SWS_DM_01193]:
InstanceSpecifierMappingIntegrityViolation: पहचानकर्ता Executable के संदर्भ में रिज़ॉल्व नहीं हो पाता है या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#26b8f7b5- Content hash
26b8f7b5- 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 · जर्मन मूल