refactor(security): move LdapAuthService into OtOpcUa.Security library
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
namespace ZB.MOM.WW.OtOpcUa.Admin.Security;
|
namespace ZB.MOM.WW.OtOpcUa.Security.Ldap;
|
||||||
|
|
||||||
public interface ILdapAuthService
|
public interface ILdapAuthService
|
||||||
{
|
{
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
namespace ZB.MOM.WW.OtOpcUa.Admin.Security;
|
namespace ZB.MOM.WW.OtOpcUa.Security.Ldap;
|
||||||
|
|
||||||
/// <summary>Outcome of an LDAP bind attempt. <see cref="Roles"/> is the mapped-set of Admin roles.</summary>
|
/// <summary>Outcome of an LDAP bind attempt. <see cref="Roles"/> is the mapped-set of Admin roles.</summary>
|
||||||
public sealed record LdapAuthResult(
|
public sealed record LdapAuthResult(
|
||||||
@@ -2,7 +2,7 @@ using Microsoft.Extensions.Logging;
|
|||||||
using Microsoft.Extensions.Options;
|
using Microsoft.Extensions.Options;
|
||||||
using Novell.Directory.Ldap;
|
using Novell.Directory.Ldap;
|
||||||
|
|
||||||
namespace ZB.MOM.WW.OtOpcUa.Admin.Security;
|
namespace ZB.MOM.WW.OtOpcUa.Security.Ldap;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// LDAP bind-and-search authentication mirrored from ScadaLink's <c>LdapAuthService</c>
|
/// LDAP bind-and-search authentication mirrored from ScadaLink's <c>LdapAuthService</c>
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
namespace ZB.MOM.WW.OtOpcUa.Admin.Security;
|
namespace ZB.MOM.WW.OtOpcUa.Security.Ldap;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// LDAP + role-mapping configuration for the Admin UI. Bound from <c>appsettings.json</c>
|
/// LDAP + role-mapping configuration for the Admin UI. Bound from <c>appsettings.json</c>
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
namespace ZB.MOM.WW.OtOpcUa.Admin.Security;
|
namespace ZB.MOM.WW.OtOpcUa.Security.Ldap;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Deterministic LDAP-group-to-Admin-role mapper driven by <see cref="LdapOptions.GroupToRole"/>.
|
/// Deterministic LDAP-group-to-Admin-role mapper driven by <see cref="LdapOptions.GroupToRole"/>.
|
||||||
Reference in New Issue
Block a user