OPCFoundation / UA-.NETStandard

OPC Unified Architecture .NET Standard
Other
1.89k stars 925 forks source link

[Client] select the most secure User Identity Token if a server offers multiple ones #2611

Closed romanett closed 4 weeks ago

romanett commented 1 month ago

Proposed changes

This fix makes the client select the most secure UserIdentity Token if a server offers more than one. Before the client just selected the first UserIdentity Token offered by the server.

Related Issues

Types of changes

Checklist

Further comments

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 94.11765% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 54.62%. Comparing base (663ed10) to head (5fb7a7f).

Files Patch % Lines
...Ua.Core/Stack/Configuration/EndpointDescription.cs 0.00% 0 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #2611 +/- ## ========================================== - Coverage 54.68% 54.62% -0.07% ========================================== Files 343 343 Lines 65216 65217 +1 Branches 13354 13354 ========================================== - Hits 35664 35622 -42 - Misses 25676 25712 +36 - Partials 3876 3883 +7 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

mregen commented 1 month ago

one typo to go...

romanett commented 1 month ago

Also added calculated Security Level to the Endpoint Selection