12.12 SessionSecurityDiagnosticsDataType

This structure contains security-related diagnostic information about client sessions. Its elements are defined in Table 246. Because this information is security-related, it shall only be accessible by authorised users.

Table 246 – SessionSecurityDiagnosticsDataType Structure
NameTypeDescription
SessionSecurityDiagnosticsDataTypestructure

sessionId

NodeIdServer-assigned identifier of the session.

clientUserIdOfSession

StringName of authenticated user when creating the session.

clientUserIdHistory

String[]

Array containing the name of the authenticated user currently active (either from creating the session or from calling the ActivateSession Service) and the history of those names. Each time the active user changes, an entry shall be made at the end of the array. The active user is always at the end of the array. Servers may restrict the size of this array, but shall support at least a size of 2.

How the name of the authenticated user can be obtained from the system via the information received as part of the session establishment is defined in 6.4.3.

authenticationMechanism

StringType of authentication currently used by the session. The String shall be one of the lexical names of the UserIdentityTokenType Enum.

encoding

StringWhich encoding is used on the wire. The String shall be ‘XML’, ‘JSON’ or ‘UA Binary’.

transportProtocol

String

Which transport protocol is used. The String shall be the scheme from the URL used to establish the session. For example, ‘opc.tcp’, ‘opc.wss’ or ‘https’.

The formal protocol URL scheme strings are defined in OPC 10000-6.

securityMode

MessageSecurityModeThe message security mode used for the session.

securityPolicyUri

StringThe name of the security policy used for the session.

clientCertificate

ByteStringThe application instance certificate provided by the client in the CreateSession request.

Its representation in the AddressSpace is defined in Table 247.

Table 247 – SessionSecurityDiagnosticsDataType definition
Attributes Value
BrowseNameSessionSecurityDiagnosticsDataType
IsAbstractFALSE
References NodeClass BrowseName DataType TypeDefinition ModellingRule
Subtype of the Structure DataType defined in Table 196.
Conformance Units
Base Info ServerType