Phase 3 PR 19 — LDAP user identity + Basic256Sha256 security profile #18
Reference in New Issue
Block a user
Delete Branch "phase-3-pr19-ldap-security"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Replaces anonymous-only endpoint with a configurable OpcUaSecurityProfile (None | Basic256Sha256SignAndEncrypt) and an LDAP-backed UserName token validator. IUserAuthenticator abstraction so unit tests swap in DenyAll; LdapUserAuthenticator reuses the Admin bind pattern without the cross-app dependency. Production endpoint: Sign+Encrypt with UserName tokens scoped to Basic256Sha256 only (password-over-None is refused). Group membership maps to OPC UA roles via LdapOptions.GroupToRole. RoleBasedIdentity on accepted sessions carries the roles through session.Identity for later write-gating. 13 new unit tests (escape + DN parsing theory + auth-flow guards). 180/180 solution-wide tests pass. Live-LDAP integration test deferred — needs a running GLAuth.