-
Notifications
You must be signed in to change notification settings - Fork 1k
Open
Labels
bugA bug was identified and should be fixed.A bug was identified and should be fixed.complianceAn issue was found which is not compliant with the OPC UA specification.An issue was found which is not compliant with the OPC UA specification.
Milestone
Description
Type of issue
- Bug
- Enhancement
- Compliance
- Question
- Help wanted
Current Behavior
When connecting a client to remote server where the server doesn't support the client's configurated SecurityPolicy and SecurityMode. The client's isesson.Create() throw the StatusCodes.BadUserAccessDenied instead of BadSecurityPolicyRejected, or BadSecurityModeRejected.
BTW, BadUserAccessDenied is used for authentication (username password error), instead throw BadIdentityTokenRejected.
Expected Behavior
More accurate StatusCodes such as BadSecurityPolicyRejected, or BadSecurityModeRejected.
Steps To Reproduce
No response
Environment
- OS:
- Environment:
- Runtime:
- Nuget Version:
- Component:
- Server:
- Client:Anything else?
No response
Copilot
Metadata
Metadata
Labels
bugA bug was identified and should be fixed.A bug was identified and should be fixed.complianceAn issue was found which is not compliant with the OPC UA specification.An issue was found which is not compliant with the OPC UA specification.