DEENESPTFRRUARHIKOZHNL

class ara::diag::ExternalAuthentication

[SWS_DM_01191] Upstream: RS_Diag_04251

class ExternalAuthentication final {...};

Definition of the ExternalAuthentication class, which is used by the application to receive an instance of the ClientAuthentication Class relevant to the specific client.

Header-Datei#include "ara/diag/external_authentication.h"
Forwarding-Header#include "ara/diag/diag_fwd.h"
Scopenamespace ara::diag

User GuideAI-GENERATED

Used to retrieve authentication instances for managing the status of external diagnostic clients.
AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 95763dbebaf8 Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

Used to retrieve authentication instances for managing the status of external diagnostic clients.

The class ara::diag::ExternalAuthentication provides a port interface through which an adaptive application queries instances of ara::diag::ClientAuthentication to manage the authentication state of external diagnostic clients [SWS_DM_01191]. After binding to a modeled service port, the authentication objects are requested specifically from the Diagnostic Manager based on the source address or meta-information [SWS_DM_01200]. The instance possesses move semantics, prohibits copy operations, and requires synchronized destruction due to a non-thread-safe destructor.

Context

In the AUTOSAR Adaptive Platform, the class ara::diag::ExternalAuthentication acts as a port interface for the authentication of external diagnostic clients [SWS_DM_01191], AUTOSAR_AP_SWS_Diagnostics §8.17 “Header: ara/diag/external_authentication.h”. Via this port, an adaptive application obtains access to specific instances of ara::diag::ClientAuthentication, which represent and manage the authentication state of the respective diagnostic client [SWS_DM_01202].

The mapping and number of available client instances is defined in the software model via the element DiagnosticExternalAuthenticationIdentification. This allows the application to define fixed source addresses or configured address ranges of type Address (alias for std::uint16_t [SWS_DM_01192]) for diagnostic testers if the final source address is only known at runtime AUTOSAR_AP_SWS_Diagnostics §7.3.2.2 “Get ClientAuthentication Instance”.

The participating interaction partners include:

  • The adaptive application, which creates the port instance and queries authentication states.
  • The Diagnostic Manager (DM), which controls the diagnostic connections and manages the authentication states of the clients [SWS_DM_01202].
  • The ara::diag::ClientAuthentication objects associated with the requesting client.
  • The external diagnostic client, whose connection is identified via source address or meta-information.
diag_kontext app Adaptive Applikation ext_auth ara::diag::ExternalAuthentication app->ext_auth instanziiert / ruft Get dm Diagnostic Manager ext_auth->dm fragt Zustand an client_auth ara::diag::ClientAuthentication ext_auth->client_auth returns instance dm->client_auth verwaltet client Externer Diagnose-Client client->dm Diagnoseanfrage

Context diagram: Integration of the port class between application, Diagnostic Manager, and client authentication. Sources: [SWS_DM_01191], [SWS_DM_01202], AUTOSAR_AP_SWS_Diagnostics §7.3.2.2 “Get ClientAuthentication Instance”.

Lifecycle

The creation of an ara::diag::ExternalAuthentication instance is performed explicitly by passing an ara::core::InstanceSpecifier to the constructor [SWS_DM_01193]. This identifier binds the object to the modeled PortPrototype of a DiagnosticExternalAuthenticationInterface.

Regarding ownership, the class has pure move semantics: move constructor [SWS_DM_01194] and move assignment operator [SWS_DM_01195] are present (default), while copy constructor [SWS_DM_01196] and copy assignment operator [SWS_DM_01197] are deleted (delete). A port thus represents an indivisible, non-copyable interface object.

Destruction is provided by the destructor ~ExternalAuthentication() [SWS_DM_01198]. With respect to concurrency, the constructor and the query methods are specified as thread-safe (thread-safe) and exception-safe (exception safe) [SWS_DM_01193], [SWS_DM_01199], [SWS_DM_01200], [SWS_DM_01201]. In contrast, the destructor is explicitly not thread-safe (not thread-safe) [SWS_DM_01198]. The application must therefore ensure that no concurrent calls take place prior to destructing the object.

Usage Path

The typical sequence comprises initialization of the port followed by retrieval of authentication objects:

  1. The application instantiates ExternalAuthentication, specifying the instance identifier [SWS_DM_01193].
  2. The application requests the authentication instance for a specific client. For this purpose, the overloaded methods Get(Address) using the tester address [SWS_DM_01200] or Get(const MetaInfo&) based on received request metadata [SWS_DM_01199] are available. Alternatively, it retrieves a list of all instances currently maintained by the Diagnostic Manager using GetAll() [SWS_DM_01201].
  3. The Diagnostic Manager identifies the corresponding object and returns an ara::core::Result<ClientAuthentication> or a vector [SWS_DM_01202].
  4. The application checks the result and subsequently interacts with the obtained ClientAuthentication instance, which presumably acts as an application-side handle for the state of the authentication session. Question Q-e7ddbab981bf21de (open)
Retrieval of a ClientAuthentication instanceApplikationExternalAuthenticationDiagnosticManagerExternalAuthentication(instanceSpecifier)Get(sourceAddress)Authentifizierungszustand anfordernClientAuthentication-Instanzara::core::Result<ClientAuthentication>

Sequence diagram: Typical call sequence for instantiating and querying a ClientAuthentication instance. Sources: [SWS_DM_01193], [SWS_DM_01200], [SWS_DM_01202].

Error Scenarios

During instantiation via the constructor, configuration and modeling errors can lead to defined violations [SWS_DM_01193]:

  • InstanceSpecifierMappingIntegrityViolation: The identifier cannot be resolved in the context of the executable or does not reference a PortPrototype.
  • PortInterfaceMappingViolation: The referenced PortPrototype is not typed as DiagnosticExternalAuthenticationInterface.
  • ProcessMappingViolation: No matching modeled process definition exists for the runtime process.
  • InstanceSpecifierAlreadyInUseViolation: The identifier is already used by another port instance in the same process.

For calls to Get(const MetaInfo&) or Get(Address), the return value via ara::core::Result may contain the error code DiagErrc::kServiceNotAvailable [SWS_DM_01199], [SWS_DM_01200]. This indicates that essential functionality of the Diagnostic Manager is temporarily unavailable. If instances are missing, the call GetAll() does not return an error code, but an empty vector [SWS_DM_01201].

This text was generated by an AI system based on the AUTOSAR R25-11 specification.

Member map

Methods

2

Operators

1

Type aliases

1

Class diagram

Hohle Dreieckspfeile = Vererbung (zeigt zur Basisklasse); Klicken öffnet die jeweilige Klassenseite.

G nara__diag__ExternalAuthentication264 ExternalAuthentication + ExternalAuthentication() + ~ExternalAuthentication() + Get() + GetAll() + operator=()

Detail view

Select an entry in the outline.

Constructors and destructor

Constructs the port for authentication of diagnostic clients.

Overloads ExternalAuthentication 3
explicit ExternalAuthentication (ara::core::InstanceSpecifier instance Specifier) noexcept; SWS_DM_01193
ExternalAuthentication (ExternalAuthentication &&other) noexcept=default; SWS_DM_01194
ExternalAuthentication (ExternalAuthentication const &other)=delete; SWS_DM_01196

Destructor of DiagnosticServiceDynamicAccessList.

Methods

Get function 2

This function is used by the application to get the ClientAuthentication Instance that is handling the Authentication State of the Client corresponding to the MetaInfo.

Overloads Get 2
GetAll function

This function is used by the application to get all the ClientAuthentication Instances that are currently handled by the DM.

Operators

operator= function 2

Move assignment operator of ExternalAuthentication.

Overloads = 2
auto operator= (ExternalAuthentication &&other) & noexcept -> External Authentication & =default; SWS_DM_01195
auto operator= (ExternalAuthentication const &other) -> External Authentication &=delete; SWS_DM_01197

Type aliases

Address type alias

Alias for tester address.

using Address = std::uint16_t;

Method documentation

function 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.

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 26d2f2a81fd4 Provenance
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

The explicit constructor [SWS_DM_01193] initializes an instance of port class ara::diag::ExternalAuthentication [SWS_DM_01191] for authenticating external diagnostic clients (SWS Diagnostics §8.17 “Header: ara/diag/external_authentication.h”). As a parameter, the function expects a ara::core::InstanceSpecifier, which must reference an PortPrototype of an DiagnosticExternalAuthenticationInterface service instance modeled in the manifest [SWS_DM_01193].

The synchronous call is declared as noexcept and specified as both thread-safe and exception-safe [SWS_DM_01193]. Because no exceptions are thrown, modeling and configuration errors lead to defined framework violations [SWS_DM_01193]:

  • InstanceSpecifierMappingIntegrityViolation: The specifier cannot be resolved in the context of the executable or references a model element other than an PortPrototype.
  • PortInterfaceMappingViolation: The referenced PortPrototype is not typed by a DiagnosticExternalAuthenticationInterface.
  • ProcessMappingViolation: No matching modeled runtime process exists for the reference.
  • InstanceSpecifierAlreadyInUseViolation: The specifier is already in use by another instance in the running process.

Copy operations are explicitly prohibited for ExternalAuthentication [SWS_DM_01196] [SWS_DM_01197], whereas move operations are supported [SWS_DM_01194] [SWS_DM_01195]. In contrast to the constructor, the associated destructor is not thread-safe [SWS_DM_01198]. After successful instantiation, the object is used to query associated client authentication instances via methods such as Get or GetAll [SWS_DM_01201] [SWS_DM_01202].

This usage note was generated automatically based on the AUTOSAR specification.

Implementer's Guide to follow (complexity I2)

Header-Datei#include "ara/diag/external_authentication.h"
Scopeclass ara::diag::ExternalAuthentication
Exception-Sicherheitexception safe
Thread-Sicherheitthread-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)

ParameterBeschreibung
instanceSpecifierInstanceSpecifier 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#3d7cf4e1
Content hash
3d7cf4e1
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
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#3d7cf4e12026-09-30
  • R21-11rel:R21-11#8a71f7dd2026-10-14
  • R22-11rel:R22-11#62844c072026-10-14
  • R23-11rel:R23-11#447ba5db2026-10-14
  • R24-11rel:R24-11#4fb764692026-10-14
  • R25-11rel:R25-11#99c49ac22026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

function ExternalAuthentication [SWS_DM_01194] Upstream: RS_Diag_04251

ExternalAuthentication (ExternalAuthentication &&other) noexcept=default;

Move constructor of ExternalAuthentication.

Header-Datei#include "ara/diag/external_authentication.h"
Scopeclass ara::diag::ExternalAuthentication
Exception-Sicherheitexception safe

Parameter (in)

ParameterBeschreibung
otherObject to move-construct from

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_DM_01194
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01194@rel:R25-11#49f971fe
Content hash
49f971fe
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01194
Status: valid/unmigrated Version: rel:R25-11#56b10148 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_01194@rel:R25-11#56b10148
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#49f971fe2026-09-30
  • R21-11rel:R21-11#5c8f6e4f2026-10-14
  • R22-11rel:R22-11#05f8bd8b2026-10-14
  • R23-11rel:R23-11#503551b52026-10-14
  • R24-11rel:R24-11#de5240aa2026-10-14
  • R25-11rel:R25-11#56b101482026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

function ExternalAuthentication [SWS_DM_01196] Upstream: RS_Diag_04251

ExternalAuthentication (ExternalAuthentication const &other)=delete;

Copy constructor of ExternalAuthentication.

Header-Datei#include "ara/diag/external_authentication.h"
Scopeclass ara::diag::ExternalAuthentication

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_DM_01196
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01196@rel:R25-11#792beea1
Content hash
792beea1
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01196
Status: valid/unmigrated Version: rel:R25-11#28bce7b2 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_01196@rel:R25-11#28bce7b2
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#792beea12026-09-30
  • R21-11rel:R21-11#5ed5ded02026-10-14
  • R22-11rel:R22-11#ef33b0632026-10-14
  • R23-11rel:R23-11#861f734f2026-10-14
  • R24-11rel:R24-11#28bce7b22026-10-14
  • R25-11rel:R25-11#28bce7b22026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

function Get [SWS_DM_01199] Upstream: RS_Diag_04251

ara::core::Result< ClientAuthentication > Get (const MetaInfo &meta Info) noexcept;

This function is used by the application to get the ClientAuthentication Instance that is handling the Authentication State of the Client corresponding to the MetaInfo.

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: b80711a7d088 Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

The synchronous method ara::diag::ExternalAuthentication::Get is used by an adaptive application to retrieve the instance of ara::diag::ClientAuthentication responsible for a diagnostic request [SWS_DM_01199]. A reference to metaInfo (const ara::diag::MetaInfo&) is passed as a parameter, which provides meta-information from the context of the diagnostic request SWS Diagnostics §7.3.1.1 “MetaInfo class”. The return value of type ara::core::Result<ClientAuthentication> encapsulates the corresponding authentication object for managing the authentication state of the client [SWS_DM_01202].

If an error occurs, the returned Result contains the specific error code DiagErrc::kServiceNotAvailable [SWS_DM_01199]. This signals with rollback semantics that the call cannot be executed because essential functions of the Diagnostic Manager (DM) are not available at invocation time [SWS_DM_01199].

Regarding concurrency, the function is specified as thread-safe as well as exception safe and is declared with noexcept [SWS_DM_01199]. It can therefore be called safely from parallel threads without application-side locking mechanisms.

The method interacts with the overloaded variant Get(Address sourceAddress) [SWS_DM_01200], which enables the same retrieval directly via the client's source address [SWS_DM_01202]. The number of available instances is determined by model elements DiagnosticExternalAuthenticationIdentification SWS Diagnostics “Get ClientAuthentication Instance”. Interpretation: The function is likely to internally determine the source address required for the mapping from the transport data encapsulated in metaInfo. Question Q-50d416201ccb5825 (open)

This usage note was generated automatically based on AUTOSAR specification status R25-11.

Implementer's Guide to follow (complexity I2)

Header-Datei#include "ara/diag/external_authentication.h"
Scopeclass ara::diag::ExternalAuthentication
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
metaInfoMetaInfo of the request.

Rückgabewert

TypBeschreibung
ara::core::Result< ClientAuthentication >Returns the diagnostic client associated authentication object or error.

Fehler

FehlercodeBeschreibung
DiagErrc::kServiceNotAvailablerollback_semantics The call cannot be executed, because essential DM functionality is currently not available.

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_DM_01199
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01199@rel:R25-11#d297578c
Content hash
d297578c
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01199
Status: valid/unmigrated Version: rel:R25-11#0d7aa83d 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_01199@rel:R25-11#0d7aa83d
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#d297578c2026-09-30
  • R21-11rel:R21-11#174411bd2026-10-14
  • R22-11rel:R22-11#5765361f2026-10-14
  • R23-11rel:R23-11#5356d12b2026-10-14
  • R24-11rel:R24-11#1ee0d9c92026-10-14
  • R25-11rel:R25-11#0d7aa83d2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

function Get [SWS_DM_01200] Upstream: RS_Diag_04251

ara::core::Result< ClientAuthentication > Get (Address sourceAddress) noexcept;

This function is used by the application to get the ClientAuthentication Instance that is handling the Authentication State of the Client corresponding to the Address.

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: be5ba5af6394 Provenance
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

The synchronous method Get of class ara::diag::ExternalAuthentication is used by an adaptive application to retrieve the instance of ClientAuthentication that manages the authentication state of the diagnostic client for the specified source address [SWS_DM_01200]. Here, the Diagnostic Manager resolves the responsible authentication object via the passed source address [SWS_DM_01202].

Usage and constraints comprise the following aspects:

  • Invocation and parameters: sourceAddress of type Address is passed as a parameter [SWS_DM_01200]. In the system model, resolution is based on configured DiagnosticExternalAuthenticationIdentification elements that define fixed source addresses or address ranges SWS Diagnostics p. 129 “ClientAuthentication”. In addition, an overload of Get exists, which determines the instance via a MetaInfo object [SWS_DM_01199], [SWS_DM_01202].
  • Return value and error handling: The function returns a ara::core::Result<ClientAuthentication> [SWS_DM_01200]. If execution is not possible because essential functions of the Diagnostic Manager are unavailable, error DiagErrc::kServiceNotAvailable is returned with rollback semantics [SWS_DM_01200].
  • Concurrency: The operation is specified as thread-safe and exception safe as well as declared with noexcept, which is why calls from parallel threads can be performed in an exception-safe manner [SWS_DM_01200].

This usage note was generated automatically on the basis of the specification documents of AUTOSAR Adaptive R25-11.

Implementer's Guide to follow (complexity I2)

Header-Datei#include "ara/diag/external_authentication.h"
Scopeclass ara::diag::ExternalAuthentication
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Parameter (in)

ParameterBeschreibung
sourceAddressThe source address of the client

Rückgabewert

TypBeschreibung
ara::core::Result< ClientAuthentication >Returns the associated diagnostic client authentication object or error.

Fehler

FehlercodeBeschreibung
DiagErrc::kServiceNotAvailablerollback_semantics The call cannot be executed, because essential DM functionality is currently not available.

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_DM_01200
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01200@rel:R25-11#a78dc7ce
Content hash
a78dc7ce
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01200
Status: valid/unmigrated Version: rel:R25-11#07135c96 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_01200@rel:R25-11#07135c96
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#a78dc7ce2026-09-30
  • R21-11rel:R21-11#f69dcd252026-10-14
  • R22-11rel:R22-11#98dbac742026-10-14
  • R23-11rel:R23-11#7078e40c2026-10-14
  • R24-11rel:R24-11#85f369cf2026-10-14
  • R25-11rel:R25-11#07135c962026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

function GetAll [SWS_DM_01201] Upstream: RS_Diag_04251

ara::core::Vector< ClientAuthentication > GetAll () noexcept;

This function is used by the application to get all the ClientAuthentication Instances that are currently handled by the DM.

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: a4dc37b394ab Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

use

The method GetAll of class ara::diag::ExternalAuthentication (header file ara/diag/external_authentication.h) is used by applications to synchronously query all instances of ClientAuthentication currently managed by the Diagnostic Manager [SWS_DM_01201], [SWS_DM_01203]. The call is parameterless and returns a ara::core::Vector<ClientAuthentication> containing all associated authentication objects [SWS_DM_01201].

Error Handling and Return Values

The function is declared as exception safe and noexcept [SWS_DM_01201]. Specific error codes or reports to DET or DEM do not exist for this interface. If no authentication objects are available, this is not treated as an error; instead, the method returns an empty vector [SWS_DM_01201].

Concurrency and Limitations

The specification designates GetAll as thread-safe [SWS_DM_01201]. Interpretation: Calls from multiple parallel application threads are therefore likely to be permitted without additional application-side synchronization. Question Q-9f26d94068ebd3fe (open)

Interaction

The set of retrievable instances corresponds to the configured model elements of type DiagnosticExternalAuthenticationIdentification, which define fixed source addresses or address ranges AUTOSAR_AP_SWS_Diagnostics p. 129. While GetAll provides the totality of all instances [SWS_DM_01203], method Get allows the targeted query for a specific source address or meta-information [SWS_DM_01202].

This usage note was generated automatically based on the AUTOSAR specification.

Implementer's Guide to follow (complexity I1)

Header-Datei#include "ara/diag/external_authentication.h"
Scopeclass ara::diag::ExternalAuthentication
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe

Rückgabewert

TypBeschreibung
ara::core::Vector< ClientAuthentication >Returns the list of all diagnostic client associated authentication objects or empty list if none available.

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_DM_01201
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01201@rel:R25-11#9941b3c9
Content hash
9941b3c9
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01201
Status: valid/unmigrated Version: rel:R25-11#2912f80f 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_01201@rel:R25-11#2912f80f
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#9941b3c92026-09-30
  • R21-11rel:R21-11#e12087182026-10-14
  • R22-11rel:R22-11#e977abb02026-10-14
  • R23-11rel:R23-11#6f409f582026-10-14
  • R24-11rel:R24-11#32e7f4b12026-10-14
  • R25-11rel:R25-11#2912f80f2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

function operator= [SWS_DM_01195] Upstream: RS_Diag_04251

auto operator= (ExternalAuthentication &&other) & noexcept -> External Authentication & =default;

Move assignment operator of ExternalAuthentication.

Header-Datei#include "ara/diag/external_authentication.h"
Scopeclass ara::diag::ExternalAuthentication
Exception-Sicherheitexception safe

Parameter (in)

ParameterBeschreibung
otherObject to move-assign from.

Rückgabewert

TypBeschreibung
ExternalAuthenticationExternalAuthentication& Reference to self.

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_DM_01195
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01195@rel:R25-11#8f6e2310
Content hash
8f6e2310
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01195
Status: valid/unmigrated Version: rel:R25-11#6803e422 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_01195@rel:R25-11#6803e422
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#8f6e23102026-09-30
  • R21-11rel:R21-11#e0a59cdb2026-10-14
  • R22-11rel:R22-11#2ba590ba2026-10-14
  • R23-11rel:R23-11#d39a0d602026-10-14
  • R24-11rel:R24-11#542712952026-10-14
  • R25-11rel:R25-11#6803e4222026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

function operator= [SWS_DM_01197] Upstream: RS_Diag_04251

auto operator= (ExternalAuthentication const &other) -> External Authentication &=delete;

Copy assignment operator of ExternalAuthentication.

Header-Datei#include "ara/diag/external_authentication.h"
Scopeclass ara::diag::ExternalAuthentication

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_DM_01197
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01197@rel:R25-11#6d1027ba
Content hash
6d1027ba
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01197
Status: valid/unmigrated Version: rel:R25-11#09d1b83a 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_01197@rel:R25-11#09d1b83a
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#6d1027ba2026-09-30
  • R21-11rel:R21-11#9521bdc82026-10-14
  • R22-11rel:R22-11#f4eeab222026-10-14
  • R23-11rel:R23-11#3efeb14e2026-10-14
  • R24-11rel:R24-11#09d1b83a2026-10-14
  • R25-11rel:R25-11#09d1b83a2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

function ~ExternalAuthentication [SWS_DM_01198] Upstream: RS_Diag_04251

~ExternalAuthentication () noexcept;

Destructor of DiagnosticServiceDynamicAccessList.

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: cea37c94582e Provenance Open questions (2)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

The destructor ~ExternalAuthentication() terminates the lifecycle of an instance of class ara::diag::ExternalAuthentication from header ara/diag/external_authentication.h [SWS_DM_01198]. It is executed synchronously upon leaving the scope or when releasing the object, requires no parameters, and has no return value AUTOSAR_AP_SWS_Diagnostics §8.17.1.2.1.2 “Destructor”.

Regarding error handling, the function is provided with the specifier noexcept and formally defined as exception safe (exception safe) [SWS_DM_01198]. The call thus guarantees that, in the event of an error, no C++ exceptions interrupt the destruction process or are passed on to the caller.

Regarding concurrency and limitations, it must be noted that the destructor is specified as not thread-safe (not thread-safe) [SWS_DM_01198]. Calling components must therefore ensure that no simultaneous accesses to the same instance of ara::diag::ExternalAuthentication take place via separate threads during destruction. Presumably, all active diagnostic and authentication operations of this instance should be completely terminated before the call in order to avoid uncoordinated memory accesses. Question Q-67c112ea87f722d2 (open)

In the functional context, the interface implements the high-level requirement RS_Diag_04251 for Diagnostic Management (DM) AUTOSAR_AP_SWS_Diagnostics §8.17.1.2.1.2 “Destructor”. The tabular labeling as a destructor of a dynamic access list is likely an editorial inaccuracy of the specification, as scope and namespace establish the binding to ExternalAuthentication [SWS_DM_01198]. Question Q-30744aac322624cb (open)

This usage note was generated automatically based on the AUTOSAR specification.

Implementer's Guide to follow (complexity I1)

Header-Datei#include "ara/diag/external_authentication.h"
Scopeclass ara::diag::ExternalAuthentication
Exception-Sicherheitexception safe
Thread-Sicherheitnot thread-safe

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_DM_01198
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01198@rel:R25-11#2976e59f
Content hash
2976e59f
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01198
Status: valid/unmigrated Version: rel:R25-11#fb78e709 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_01198@rel:R25-11#fb78e709
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#2976e59f2026-09-30
  • R21-11rel:R21-11#0b0d79932026-10-14
  • R22-11rel:R22-11#c93ef83d2026-10-14
  • R23-11rel:R23-11#95e746bb2026-10-14
  • R24-11rel:R24-11#8f8b55132026-10-14
  • R25-11rel:R25-11#fb78e7092026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

Type alias documentation

type alias Address [SWS_DM_01192] Upstream: RS_Diag_04251

using Address = std::uint16_t;

Alias for tester address.

Header-Datei#include "ara/diag/external_authentication.h"
Scopeclass ara::diag::ExternalAuthentication
SymbolAddress

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_DM_01192
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01192@rel:R25-11#4c1ad19b
Content hash
4c1ad19b
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01192
Status: valid/unmigrated Version: rel:R25-11#14b59998 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_01192@rel:R25-11#14b59998
Point-in-Time History:
Recorded Revisions (6):
  • R25-11rel:R25-11#4c1ad19b2026-09-30
  • R21-11rel:R21-11#5e4deeca2026-10-14
  • R22-11rel:R22-11#b896dce62026-10-14
  • R23-11rel:R23-11#14b599982026-10-14
  • R24-11rel:R24-11#5bcc7f9a2026-10-14
  • R25-11rel:R25-11#14b599982026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill